Hallo ich diese Störung erhalte, während unterzeichnet apk zu erzeugen:Fehler beim Generieren signierter Apk, wenn ich Google Map verwende?
Error:Execution failed for task ':app:lintVitalRelease'.
> Lint found fatal errors while assembling a release target.
To proceed, either fix the issues identified by lint, or modify your build script as follows:
...
android {
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
}
Das ist mein Manifest ist:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="android.OMMSoftware.Navsahydri">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION"
android:protectionLevel="signature" />
<uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION"
android:protectionLevel="signature" />
<uses-library
android:name="com.google.android.maps"
android:required="true" />
<application
android:allowBackup="true"
android:icon="@drawable/logo_circular"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/MyMaterialTheme">
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="AIzaSyDjqmmXd1d1yk7BtncDQgXSmya-NdBkc2w" />
<activity android:name=".Splash">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".Home" />
<activity android:name=".Gallery" />
<activity android:name=".Contactus" />
<activity android:name=".Placements"></activity>
</application>
</manifest>
Code fehlerfrei ist, auch apk baut, aber wenn ich versuche unterzeichnet apk zu erzeugen Es zeigt über Fehler an, ich verwende Google Map in meinem Projekt. Bitte helfen. zu laufen oder zu ignorieren, mit dem lintOptions {} Block in Ihrer Modulebene build.gradle Datei
Haben Sie versucht, die 'lintOptions' hinzuzufügen, die für Ihr' build.gradle' vorgeschlagen wurden? – antonio
Nein, noch nicht.do muss ich es hinzufügen? – Abhijeet