amplify.init not generating amplifyconfiguration file correctly in android studio.
It is generating amplifyconfiguration file src folder(which is wrong folder) and with 2 lines of code in it which is:
{
“aws_project_region”: “us-east-1”
}
Its supposed to generated more code in it.
But after running amplify.init it is showing deployment successfully.
It is throwing Error:
Could not initialize Amplify
Caused by: org.json.JSONException: No value for region