android - play-services-base 8.1.0 Could not find element /manifest/application -


i trying package android project of libgdx game in implemented ads. works fine when run on device when try package gradle task assemblerelease throws this:

:android:processreleasemanifest [f:\java\elementninja\build\exploded-aar\com.google.android.gms\play-services-base\8.1.0\androidmanifest.xml:1] not find element /manifest/application.  execution failed task ':android:processreleasemanifest'. > manifest merging failed. see console more info. 

the library play-services-base in direction above indeed missing application tag , therefore fails merging manifests. library created upon build , adding in application tag not help, expected. recreated when try assemble. checked , play-services-base library misses application tag. missing in version 8.1.0 though. 7.8.0 has tag.

when try compile version 7.8.0 throws:

[f:\java\elementninja\build\exploded-aar\com.google.android.gms\play-services-location\7.8.0\androidmanifest.xml:1,  c:\users\silvio\appdata\local\temp\manifestmerge7855374264263370310.xml:7] main manifest has <uses-feature android:glesversion='0x00010000'> library uses glesversion='0x00020000' note: main manifest lacks <uses-feature android:glesversion> declaration, , defaults glesversion=0x00010000. 

i don't know either :d

all other libs/plugins date , using eclipse 4.6.

in build.gradle file call:

compile "com.google.android.gms:play-services:+" 

'refresh all' gradle throws no errors. said working when installed eclipse. ads working fine in game.

okay, after day of trying , failing miserably decided start scratch. created fresh libgdx project , copied source code it. first try, compiled successfully. cannot describe feeling, haha.

i have admit, libgdx project itself(not version. date) created on 1 year ago. when compared build.gradle files , other stuff of projects saw differences.

i guess old gradle tool versions used in old project , therefore wanted application tag although not in newer versions of google play service libs. i'm having problems googles libs since started. first success.


Comments

Popular posts from this blog

How to show in django cms breadcrumbs full path? -

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -