i'm having to error related to manifest
There are duplicate statements of the permit
android.permission.ACCESS_FINE_LOCATION
with different maxSdkVersions.
this is my manifest.
i remove then for sdk 19, and works ok the upload. what happend with the lower sdk that does not use
the run time permision?
Thanks
Victor
There are duplicate statements of the permit
android.permission.ACCESS_FINE_LOCATION
with different maxSdkVersions.
this is my manifest.
B4X:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="26"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
SetApplicationAttribute(android:theme, "@style/MyAppTheme")
CreateResource(values, theme.xml,
<resources>
<style name="MyAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">#0098FF</item>
<item name="colorPrimaryDark">#007CF5</item>
<item name="colorAccent">#AAAA00</item>
<item name="windowNoTitle">true</item>
<item name="windowActionBar">false</item>
<item name="android:windowTranslucentNavigation">false</item>
<item name="android:windowTranslucentStatus">true</item>
</style>
</resources>
)
AddApplicationText(
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value=""/>
)
AddApplicationText(
<activity android:name="com.google.android.gms.common.api.GoogleApiActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:exported="false"/>
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
)
AddManifestText(
<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION"
android:maxSdkVersion="19" />
)
i remove then for sdk 19, and works ok the upload. what happend with the lower sdk that does not use
the run time permision?
Thanks
Victor