[Q] How can I restore Eclipse "debug.keystore" file? - Java for Android App Development

Hi to all, I've just cleaned my computer and now I have reinstalled Eclipse. When I try to debug to device my Android Apps (before in another OS) now I'm getting an error that says that the APK signature has been changed (because I formatted my PC). How can I restore (or recreate) my previous debug.keystore file to give the possibility to all of my friends to continue updating my app without first uninstall it? Or, is there a way to regenerate this file from an APK (I backed up my app APK before format)?
Thanks and sorry for my English

Androyx96 said:
Hi to all, I've just cleaned my computer and now I have reinstalled Eclipse. When I try to debug to device my Android Apps (before in another OS) now I'm getting an error that says that the APK signature has been changed (because I formatted my PC). How can I restore (or recreate) my previous debug.keystore file to give the possibility to all of my friends to continue updating my app without first uninstall it? Or, is there a way to regenerate this file from an APK (I backed up my app APK before format)?
Thanks and sorry for my English
Click to expand...
Click to collapse
you cant, there is nothing to restore, unless you had a backup, so no, they would have to uninstall and re-install I'm afraid Rule #1, cloud store your keystore

Related

Market broken

My market is broken. Every time i try to download something from it i get the message 'the process com.google.process.gapps has stopped unexpextedly. Please try again'.
I think I know the reason for this. I deleted some system apps off my phone (my space google talk, google talk service) via root manager and I imagine one of these caused this to happen. I tried a factory reset to fix this but still nothing.
Any help ?!!!!
delete that files is the same to flash spica again
never del that files m8
I too deleted talk and g service, even though I thought I had backed it up using titanium ( which won't restore ).
if anyone could provide us with the original Apk as it seems that you need platform specific versions, I would be forever in your debt
munkor said:
I too deleted talk and g service, even though I thought I had backed it up using titanium ( which won't restore ).
if anyone could provide us with the original Apk as it seems that you need platform specific versions, I would be forever in your debt
Click to expand...
Click to collapse
These are system apps, TitaniumBackup can only backup data in this case.
You can get those missing apps from samdroid kitchen- cook a full package.
If you have only rooted your Spica choose Redesigned and remember to copy .apk and corresponding .odex files. I can't guarantee it will work flawlessly- kitchen is based on XXJH1 firmware
I dunno why, but as I experienced, gTalk is needed to use the market.
Sent from my GT-I5700 using XDA App

Latest Google Keyboard...unable to install

Is anyone else able to install the latest update to Google Keyboard from the Market? I am unable to. I think I broke my Razr at some point, sadly. I manually updated to the new keyboard before they put it in the market (way back when). I have been able to get it to update in the past, but now, something is wrong, and it won't update...it keeps either telling me my certificate isn't correct, or it is already installed.
Things I have tried:
Making sure the following were the stock versions, and then removing all of them:
in /system/app:
Latin.apk, LatinIME.apk, LatinImeDictionaryPack.apk
in /system/lib:
libjni_latin.so, libjni_latinime.so
in /data/data:
com.google.android.inputmethod.latin
com.google.android.inputmethod.latin.dictionarypack
com.motorola.android.inputmethod.latin
I have tried wiping davlik-cache and cache, tried rebooting. Tried installing from market, and downloaded apk, using adb and pm install. It seems to either, if all the files are present, tell me that it can't install, as it is a different version of the certificate OR if I delete them all, it tries to install and reports the app is already installed.
Any suggestions?
Just to help anyone else find this post, some of the error messages I encountered that would help them find this in searching:
From the pm install, errors: INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES and INSTALL_FAILED_ALREADY_EXISTS
and from the dialogs in Android, when trying to do it from the market:
Application already exists, and Package file was not signed correctly.
Are you rooted? If so, have you tried uninstalling the keyboard with titanium backup, rebooting, then installing the new one from the play store?
Yep, I'm rooted, I should have mentioned that. I tried uninstalling with Titanium Backup, no luck. There must be some other thing that is colliding with the keyboard, something that I need to delete or clear, no idea. I am sure it is an odd problem to me, cause I got the keyboard manually before it came to market, but darned if I can figure this out. It really stinks, cause now I have only one choice, Swype. I really like and miss the Google Keyboard.
Only other thing that I can think of is if you are running a custom rom, do a dirty flash and then flash gapps. Otherwise you might have to do a complete wipe and start over.
RoboCuz said:
Is anyone else able to install the latest update to Google Keyboard from the Market? I am unable to. I think I broke my Razr at some point, sadly. I manually updated to the new keyboard before they put it in the market (way back when). I have been able to get it to update in the past, but now, something is wrong, and it won't update...it keeps either telling me my certificate isn't correct, or it is already installed.
Things I have tried:
Making sure the following were the stock versions, and then removing all of them:
in /system/app:
Latin.apk, LatinIME.apk, LatinImeDictionaryPack.apk
in /system/lib:
libjni_latin.so, libjni_latinime.so
in /data/data:
com.google.android.inputmethod.latin
com.google.android.inputmethod.latin.dictionarypack
com.motorola.android.inputmethod.latin
I have tried wiping davlik-cache and cache, tried rebooting. Tried installing from market, and downloaded apk, using adb and pm install. It seems to either, if all the files are present, tell me that it can't install, as it is a different version of the certificate OR if I delete them all, it tries to install and reports the app is already installed.
Any suggestions?
Just to help anyone else find this post, some of the error messages I encountered that would help them find this in searching:
From the pm install, errors: INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES and INSTALL_FAILED_ALREADY_EXISTS
and from the dialogs in Android, when trying to do it from the market:
Application already exists, and Package file was not signed correctly.
Click to expand...
Click to collapse
If your problem is in somewhere in data then a factory data reset is an option. But before you try that my restore thread allows you to try 3 different systems (stock, stock deodexed-debloat & if your are unlocked: a Telstra deodexed-debloat) and keep your data. They all need to be done is a series to keep data.
aviwdoowks said:
If your problem is in somewhere in data then a factory data reset is an option. But before you try that my restore thread allows you to try 3 different systems (stock, stock deodexed-debloat & if your are unlocked: a Telstra deodexed-debloat) and keep your data. They all need to be done is a series to keep data.
Click to expand...
Click to collapse
I managed to get this installed...I'm not sure exactly what I did to get it to work, and I still think I am somewhat broken, unfortunately. I removed the data directory, left all the .so and .apk files from stock, EXCEPT I took the Google Keyboard apk and manually stuck it into /system/app. I THEN did a pm install -r googlekeyboard.apk and it managed to install on top. I think I also (although not sure it helped) removed a rename line in /data/system/packages.xml about the package.
I don't have it linked in the market (in spite of trying with TB) and I don't have the Google Keyboard Settings app showing in my app tray, but the keyboard is there, selectable and seems to be working.
Cheers
RoboCuz
I am unable to install any version of google keyboard in my rooted Micromax A177.

Help, X Application not Installed

Guys, I got a WhatsApp+ update notification, I downloaded the new Apk and tried to install it over the old version, howeverthe phone sat on the installing screen with the loading bar for about 2 minutes and then finished with a message saying X Application not installed
I made a titanium backup of the app, uninstalled and tried to install again, the same problem arose, then, I tried to use the play store to install the default app, resulting in a Package file is invalid message after trying to install for a while, I tried to restore my Ti Backup however, when the app was being installed, I got the app not installed message once more, after trying with different versions, of the app it always resulted in the same, cleaning everything I could with SD maid didn't help.
Manually deleting everything seemingly related to the app didn't help.
The last thing I tried was using pm install appname.apk to install it but I get the following message "FAILURE [INSTALL_FAILED_INVALID_URI]"
I absolutely need this app but I do not want to factory reset, what else can I do to install the app?
Thanks.
(Clearing the play store cache doesn't work either)
Fidelator said:
Guys, I got a WhatsApp+ update notification, I downloaded the new Apk and tried to install it over the old version, howeverthe phone sat on the installing screen with the loading bar for about 2 minutes and then finished with a message saying X Application not installed
I made a titanium backup of the app, uninstalled and tried to install again, the same problem arose, then, I tried to use the play store to install the default app, resulting in a Package file is invalid message after trying to install for a while, I tried to restore my Ti Backup however, when the app was being installed, I got the app not installed message once more, after trying with different versions, of the app it always resulted in the same, cleaning everything I could with SD maid didn't help.
Manually deleting everything seemingly related to the app didn't help.
The last thing I tried was using pm install appname.apk to install it but I get the following message "FAILURE [INSTALL_FAILED_INVALID_URI]"
I absolutely need this app but I do not want to factory reset, what else can I do to install the app?
Thanks.
(Clearing the play store cache doesn't work either)
Click to expand...
Click to collapse
Are u on ART runtime ?
Ravzz_Sv said:
Are u on ART runtime ?
Click to expand...
Click to collapse
Wow, I can't believe something that simple got it to install again, thanks man.

[Q] Apps Crashing on startup after enabling native tethering

Hello,
I am using a Sprint Galaxy S4 on stock 4.4.2. I recently set out to enable native tethering so I can have 4g on my tablet. After looking around a little I found the odex and jar for my device/version (NAE) and used TowelRoot to get root access. After copying over the services.jar and services.odex files I found that any time I install a new app it will crash when I try to open it. My root access has also been removed (TowelRoot will not give me root anymore) and some programs can't write to the phone or SD Card such as Box. Since root access has somehow been revoked I can't put the old services.jar and .odex back in place.
I installed the jar and odex by simply copying them to the system/framework folder per a QBKing77 guide. Another guide had suggested installing using goomanager but I quickly found that it was discontinued. I considered using Flashify but ended up just using QBKing's method since it was quicker and required no extra app.
Thanks for any help you can give me. I'm happy to provide additional information (such as a stack trace of a crash) if it's helpful in any way.
raxitron said:
Hello,
I am using a Sprint Galaxy S4 on stock 4.4.2. I recently set out to enable native tethering so I can have 4g on my tablet. After looking around a little I found the odex and jar for my device/version (NAE) and used TowelRoot to get root access. After copying over the services.jar and services.odex files I found that any time I install a new app it will crash when I try to open it. My root access has also been removed (TowelRoot will not give me root anymore) and some programs can't write to the phone or SD Card such as Box. Since root access has somehow been revoked I can't put the old services.jar and .odex back in place.
I installed the jar and odex by simply copying them to the system/framework folder per a QBKing77 guide. Another guide had suggested installing using goomanager but I quickly found that it was discontinued. I considered using Flashify but ended up just using QBKing's method since it was quicker and required no extra app.
Thanks for any help you can give me. I'm happy to provide additional information (such as a stack trace of a crash) if it's helpful in any way.
Click to expand...
Click to collapse
Flash stock rom
"If someone helps, never forget to hit thanks ? "
DeepankarS said:
Flash stock rom
"If someone helps, never forget to hit thanks ? "
Click to expand...
Click to collapse
So I am screwed, will lose all my stuff?
raxitron said:
So I am screwed, will lose all my stuff?
Click to expand...
Click to collapse
No
Just flash the stock rom.
You can backup the following by these methods.
Contacts : Press the menu button in the contacts app. Press on Import/Export then export to SD card.
Apps : Download ApkExtract from the play store and backup the apps.
App data (high score in games etc.) : Download Helium from the playstore and backup the app data. Note app data gets stored on the internal sdcard, so move it to the external sd card.
Images : Go to gallery and press on an album. Merge it with an existing album that is present on the ext memory card.
Rest you know how to
You wont lose anything if you just flash the matching stock rom, but why take chances and then repent.
"If someone helps, never forget to hit thanks ? "
DeepankarS said:
No
Just flash the stock rom.
You can backup the following by these methods.
Contacts : Press the menu button in the contacts app. Press on Import/Export then export to SD card.
Apps : Download ApkExtract from the play store and backup the apps.
App data (high score in games etc.) : Download Helium from the playstore and backup the app data. Note app data gets stored on the internal sdcard, so move it to the external sd card.
Images : Go to gallery and press on an album. Merge it with an existing album that is present on the ext memory card.
Rest you know how to
You wont lose anything if you just flash the matching stock rom, but why take chances and then repent.
"If someone helps, never forget to hit thanks ? "
Click to expand...
Click to collapse
Thank you for your help. Unfortunately I will still lose my apps and high scores since I cannot currently use any new apps even if I install using the apk instead of play store. But I don't play a lot of phone video games so that's okay and apparently I can just tell Google Play to reinstall all apps. I think I will use this as an opportunity to flash SlimKat and get away from all the silly Sprint bloatware.
raxitron said:
Thank you for your help. Unfortunately I will still lose my apps and high scores since I cannot currently use any new apps even if I install using the apk instead of play store. But I don't play a lot of phone video games so that's okay and apparently I can just tell Google Play to reinstall all apps. I think I will use this as an opportunity to flash SlimKat and get away from all the silly Sprint bloatware.
Click to expand...
Click to collapse
And why is that?
"If someone helps, never forget to hit thanks ? "
---------- Post added at 08:04 PM ---------- Previous post was at 08:04 PM ----------
Ohh sorry i missed the flow of the thread
Haha reflash stock rom. You will lose nothing..

Samsung A20 Stock ROM, No Root - Package Installer Issue, Cant Install APKs

This is my moms phone first off, she got it used from my sister. When she got it it had been factory reset but since my sister forgot her PIN part of setting the phone up for her was to log in with my sisters old information first to make sure it wasnt stolen. I mention this in case that might have had some bearing on anything.
The issue is when trying to sideload apps onto the phone and you tap on an APK file it comes up with the Text, Image, Video, Other popup as if you tapped on Open File As. Its as though the Android Package Installer thats built in isnt associated with APK files kinda like youd have file associations in Windows. As a temporary workaround I have gone and grabbed a third party APK installer app off the Play Store but that still isnt ideal as to install anything you have to go through that app then.
She has ES File Explorer installed and even tapn hold on an APK and using ES's Install option it uses the built in Package Installer so it doesnt work. Oh and Unknown Sources is of course enabled.
I would like to fix this without completely reinstalling the entire ROM with ODIN if I can help it or completely factory resetting the phone again.

Categories

Resources