[2015-02-06 17:50:29 - Mmap] Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED [2015-02-06 17:50:29 - Mmap] Please check logcat output for more details. How I can solve those errors ?
Got same problem. Check your manifest file. Activity name should be prefixed with a period ".".
Related
My iOS app is working very well but after I edited Android Manifest and added Google Maps information, my Android app at first was working but it couldn't connect with Google Maps. I edited it again and after that I changed with previous saved one that I had but now I send you the final error that Android Studio shows me, please help to fix this problem.
The error is this:
zipro W 09-13 09:36:37 8721 108688 Error opening archive
/Users/johnhabibpour/StudioProjects/08-19-2021
AM/absolutestonedesignpro/build/app/outputs/flutter-apk/app.apk:
Invalid file ERROR: dump failed because resource AndroidManifest.xml
not found Failed to extract manifest from APK: ProcessException: The
command failed Command:
/Users/johnhabibpour/Library/Android/sdk/build-tools/31.0.0/aapt dump
xmltree /Users/johnhabibpour/StudioProjects/08-19-2021
AM/absolutestonedesignpro/build/app/outputs/flutter-apk/app.apk
AndroidManifest.xml. No application found for
TargetPlatform.android_x86. Is your project missing an
android/app/src/main/AndroidManifest.xml? Consider running "flutter
create ." to create one.
When I'm trying to do an Android build, it's giving me this error:
Merging result: ERROR
/tmp/build6250103586261222869xxx/MyApplication/src/main/AndroidManifest.xml:57:3-64 Error:
Element uses-permission#com.android.vending.BILLING at AndroidManifest.xml:57:3-64 duplicated with element declared at AndroidManifest.xml:56:5-92
/tmp/build6250103586261222869xxx/MyApplication/src/main/AndroidManifest.xml Error:
Validation failed, exiting
This is happening after I've added In App Purchase code, after successfully adding my android.licenseKey to the build hints.
Ah, I had uses-permission android:name="com.android.vending.BILLING" in the build hints. Taking it out fixed the issue. (I believe I had put it there, so that I was able to enable in-app purchase from the google play console).
I just added Google Play Service Library to my project and when I am making a modification in one of my project files I am keep getting an error dialog from eclipse:
'Running Android Lint' has encountered a problem. Failed.
So, I enabled Error Log (Window -> Show View -> Error Log) tab and I found a warning and an error line:
Error:
Failed: com.android.ide.eclipse.adt
java.lang.NullPointerException
at com.android.tools.lint.checks.ApiDetector$ApiVisitor.checkField(ApiDetector.java:1416)
at com.android.tools.lint.checks.ApiDetector$ApiVisitor.visitSelect(ApiDetector.java:1277)
at com.android.tools.lint.client.api.JavaVisitor$DispatchVisitor.visitSelect(JavaVisitor.java:904)
at com.android.tools.lint.client.api.JavaVisitor$DelegatingJavaVisitor.visitSelect(JavaVisitor.java:1147)
at lombok.ast.Select.accept(Select.java:91)
at lombok.ast.MethodInvocation.accept(MethodInvocation.java:121)
at lombok.ast.ExpressionStatement.accept(ExpressionStatement.java:63)
at lombok.ast.Block.accept(Block.java:106)
at lombok.ast.MethodDeclaration.accept(MethodDeclaration.java:240)
at lombok.ast.NormalTypeBody.accept(NormalTypeBody.java:57)
at lombok.ast.ClassDeclaration.accept(ClassDeclaration.java:239)
at lombok.ast.CompilationUnit.accept(CompilationUnit.java:83)
at com.android.tools.lint.client.api.JavaVisitor.visitFile(JavaVisitor.java:219)
at com.android.tools.lint.client.api.LintDriver.checkIndividualJavaFiles(LintDriver.java:1624)
at com.android.tools.lint.client.api.LintDriver.runFileDetectors(LintDriver.java:993)
at com.android.tools.lint.client.api.LintDriver.checkProject(LintDriver.java:869)
at com.android.tools.lint.client.api.LintDriver.analyze(LintDriver.java:442)
at com.android.tools.lint.client.api.LintDriver.analyze(LintDriver.java:363)
at com.android.ide.eclipse.adt.internal.lint.LintJob.run(LintJob.java:163)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
and a Warning:
Fatal Error: No API database found at null
An exception stack trace is not available.
My application is working, but it is annoying to close the dialog each time I make an edit and save.
This is a workaround (not exactly the solution). In Window > Preferences > Android > Lint Error Checking, uncheck "When saving files check for errors".
EDIT:
Please use the above steps only if you don't care about linting your code. These steps are for turning off Lint checking, not correcting the reported lint errors.
I would suggest for you to check on the warnings on your project. Resolving them one by one may get rid of the startup error.
I have an Android program. All the source code is working fine but something happened in Manifest file that prints this.
What does that error INSTALL_PARSE_FAILED_MANIFEST_MALFORMED mean?
[2013-04-16 20:11:29 - BingoBangalore] Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
[2013-04-16 20:11:29 - BingoBangalore] Please check logcat output for more details.
[2013-04-16 20:11:29 - BingoBangalore] Launch canceled!
Activity name should be prefixed with "." in your Manifest file.
I got answer for this issue.
Just delete "gen"folder . It build automatically.
Application will work fine.
In such a case usually do following:
check the manifest-file for syntax errors
clean your project (e.g. build->clean or delete /bin-folder and sometimes /gen-folder)
go to the project/package explorer
right-click on the manifest-file
VALIDATE!
Everything should be fine now.
sir i have got an error while running my project in ecclipse. The error is:
([2010-12-23 10:42:26 - Emulator] emulator: ERROR: the user data image is used by another emulator. aborting)
kindly you please help me to solve this error.
thanks.
I have not found a way of avoiding getting this issue, but you can do this to solve quickly:
Remove:
C:/Users/%user_name%/.android/avd/%name_of_avd%/cache.img.lock
C:/Users/%user_name%/.android/avd/%name_of_avd%/userdata-qemu.img.lock
You won't need to restart the emulator.