I also struggled with this problem for almost two days. In short: search through your Java files for "sabanaviveenti.unisabana.lux.unisabana.appsabana / http / host / path". You will probably find them in the OnStart () method of your initial activity. You need to replace sabanaviveenti.unisabana.lux.unisabana.appsabana with the name of the package that contains your main application code. For instance. something like that:
Action viewAction=Action.newAction( Action.TYPE_VIEW, // TODO: choose an action type. "LogTasks Page", // TODO: Define a title for the content shown. // TODO: If you have web page content that matches this app activity content, // make sure this auto-generated web page URL is correct. // Otherwise, set the URL to null Uri.parse("http://host/path"), // TODO: Make sure this auto-generated app URL is correct. // was: Uri.parse("android-app://sabanaviveenti.unisabana.lux.unisabana.appsabana/path"), Uri.parse("android-app://com.myserver.mypackage/http/host/path") ); AppIndex.AppIndexApi.start(client, viewAction);
The reason I had a problem was because I restructured the application code while updating Android Studio and the SDK. Somehow this code was created automatically. In my case, the activity is in the library package, but the main activity in the application is derived from this action, so I did not see the source code of the operation directly.
source share