Page 1 of 1

APK Build Error

Posted: Wed Apr 07, 2021 10:47 am
by AndyP

Hi team,

can you assist with my debug APK build error please?

I use GPS in the app to give a fine location. This is the first time this problem has shown itself.

Any idea what causes it, and what I can do to either troubleshoot or fix please?

Task :app:processDebugManifest FAILED
*******/app/platforms**/app/src/main/AndroidManifest.xml:35:5-66 Error:
Element uses-feature#android.hardware.location.gps at AndroidManifest.xml:35:5-66 duplicated with element declared at AndroidManifest.xml:31:5-90
*******/app/platforms**/app/src/main/AndroidManifest.xml Error:
Validation failed, exiting


Re: APK Build Error

Posted: Mon Apr 12, 2021 6:19 pm
by Serhii Kulibaba

Hello,

Could you please clarify if you have changed anything on the Source tab?
If you did, these custom changes might have caused the build to fail. Try to roll back the custom source changes and try to build the app again. Here is how to rollback custom source changes: https://docs.appery.io/docs/appbuilder- ... e-editing
When you make changes in the Source view for a particular page, the visual editor for that page will not be updated (until you roll back the changes).

What custom Cordova plugins do you use in your project? Some of them might cause this issue.


Re: APK Build Error

Posted: Sat Apr 17, 2021 7:26 am
by shown
AndyP wrote: Wed Apr 07, 2021 10:47 am

Hi team,

can you assist with my debug APK build error please?

I use GPS in the app to give a fine location. This is the first time this problem has shown itself.

Any idea what causes it, and what I can do to either troubleshoot or fix please?

Task :app:processDebugManifest FAILED
*******/app/platforms**/app/src/main/AndroidManifest.xml:35:5-66 Error:
Element uses-feature#android.hardware.location.gps at AndroidManifest.xml:35:5-66 duplicated with element declared at AndroidManifest.xml:31:5-90
*******/app/platforms**/app/src/main/AndroidManifest.xml Error:
Validation failed, exiting

Hi there I am newbie here and look what I have found with a little bit search on net and I hope it will be very helpful to you.

https://stackoverflow.com/questions/436 ... oid-studio


Re: APK Build Error

Posted: Thu Jun 03, 2021 10:57 am
by helize
AndyP wrote: Wed Apr 07, 2021 10:47 am

Hi team,

can you assist with my debug APK build error please?

I use GPS in the app to give a fine location. This is the first time this problem has shown itself.

Any idea what causes it, and what I can do to either troubleshoot or fix please?

Task :app:processDebugManifest FAILED
*******/app/platforms**/app/src/main/AndroidManifest.xml:35:5-66 Error:
Element uses-feature#android.hardware.location.gps at AndroidManifest.xml:35:5-66 duplicated with element declared at AndroidManifest.xml:31:5-90
*******/app/platforms**/app/src/main/AndroidManifest.xml Error:
Validation failed, exiting

build errors are qquite common in apk building even im newbie while builsing apk this might help you out https://developer.android.com/studio/known-issues