I have made a PhoneGap/Cordova based application, that seems to work fine when tested with Chrome + Ripple.
When I'm trying to install it to my Android device(which is ADB configured, and shows up in Eclipse SDK), I get the INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES error.
By reading existing posts on the same issue, I understand that it has to deal with re-installation of the app.
But, this is the first time I am trying to run this app on any device, and I don't see how re-installing might solve the problem.
Any advice on resolving the error would be much appreciated.
Look for another app in settings->apps->downloaded that may have the same package name and uninstall it.
Related
Whenever I try installing Android studio on my PC, I keep seeing this error message.
I have installed Android studio more than three times now,but I keep seeing this error message please any ways or suggestions . So that I can fix this?
I think the problem is not with your android studio package, but the network you're on while installing Android Studio. Before your start installation, connect to a reliable network also make sure to check your firewall settings while installing. However if you still face issues then refer below the similar asked question with solution.
Here is the question with solution related to your issue
facing this error if I Reload or Debug JS Remotely. I tried all possible solutions mentioned in this SO question, But there was no use.
I have uninstalled and reinstalled the app, deleted node modules folder and then recreated, deleted total project and created new one. But nothing worked for me. As some one suggested in the above mentioned link, I tired to disable the firewall.it didn't work.Surprisingly it happened all of sudden. The only thing that I didn't tried formatting the system completely.
targetSdkVersion 26
Machine OS is Ubuntu
Developing for Android mobiles
react-native: 0.52.2
Using Chrome browser for debugging
tried in multiple mobiles and tablets, But same error is occurring. At the moment the only possible way to re-run the app is running react-native run-android every time code changes.
Could somebody help me to get rid of this error?
Thank You.
So I have just started my first app in which I have a button and when user clicks on it then it just print the message.
But when I build the app and when I run that app on android studio's console then after opening it crashes and then it stops working.
Meanwhile I have searched for the error and they suggested me to see logcat table or the text file in which I can easily see the errors but after it I am stuck because I have no idea that how can I solve such problem.
Please help me with it.
Not sure how capable you are with android and you haven't given us much info to work with.
could you post a brief description of the logcat from launching the apk to the apk actually crashing?
the logcat is gonna be the best option to diagnose it.
Are you using the android sdk and emulator?
Have you updated the resources and api's?
If you go into the resource list there should a online repo with a whole lot more SDK bits you might find help.
What api's and android version is your apk built from and is your emulator emulating the same android build?
Could be the apks GUI resolution or script related, have you checked through it all?
Microsoft visual studios has a very good debug system and trouble shoot but I'm not sure if android is compatible as I've only used wp8 on it. Worth finding out though.
I have an Android application. In the latest version I've moved some code from it into separate Android Library projects (two). One library depends on another and project depends on both libraries. So, as I understand, one library includes into final application "twice" (or something similar to twice).
On the first launch of application I receive following in Console (I am using Eclipse):
Installation error: 0
Please check logcat output for more details.
Launch canceled!
Can anybody help?
Thanks!
EDIT
On the second launch program starts normally.
EDIT
I tried to reproduce error on the emulator and other device, it didn't reproduce! Can a problem be on my device? May be on file not deleted or something else?
I've reinstalled Android on my phone and problem solved :) Not a good solution, but works.
I am having this problem while running my application in emulator.When I run application it shows in console this error:
[ERROR]Error reading data file
and then nothing happens.Don't know what can be the issue, tried it many ways deleting all virtual AVDs and cleaning up the project again and again but not working anyway any solution for that? I am using 2.1.1 titanium SDK and android V8 (2.2).
sometime this also show this error in console:
[ERROR]No building apps, No launcher activity.
Did the application run before?
Have you tried a clean build or deleting the build directory to perform a full rebuild? You can also have a look into the logcat provided by DDMS to search helpful information.