Search code examples
androidapkphonegap

phonegap build android => cant find apk with android 7.0.0


I tried to update android in an existing phonegap project, told me fetching 7.0.0 ... completed. when I list platforms, it told me 6.3.0 was installed. So I did

phonegap platform remove android
phonegap platform add android

and copied my jks into platforms/android again.

phonegap build android (--release) is both telling me:

[phonegap] executing 'cordova build android' ...
[phonegap] completed 'cordova build android --no-telemetry'

But I cant find my outputs folder. Neither in platforms/android/build (I only have folder "android-profile" with a json and a rowproto file for every build) nor in platforms/android/app/build (there are folders "intermediate" and "generated"). I already searched for android-release-unsigned.apk and app-release-unigned.apk - nothing found. Anybody an idea where to search or find out why it isn't created although there are no errors? Thanks in advance


Solution

  • The answer can be found by adding "-d" to the build command. Then phonegap gives detailed information on build problems. In my case it could not find google-services.json