APK Build Error

Moderator: Support

AndyP
Posts: 10
Joined: Thu Jul 23, 2020 8:25 pm

APK Build Error

Post 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

Serhii Kulibaba
Posts: 145
Joined: Tue Aug 27, 2013 1:47 pm

Re: APK Build Error

Post 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.

shown
Posts: 2
Joined: Sat Apr 17, 2021 7:21 am

Re: APK Build Error

Post 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

Regards
Shown
gbwhatsapp apk

helize
Posts: 1
Joined: Thu Jun 03, 2021 10:54 am

Re: APK Build Error

Post 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

with best regards ...
fmwhatsapp | fm whatsapp

Post Reply