[Q] Android app development - Problem parsing package - G2 and Desire Z Q&A, Help & Troubleshooting

OK, I know there are tonnes of threads Parsing errors, but this is different.
I decided to learn how to write Android apps, so went on the Android developers website and followed the training guide. I am using AIDE (search on Play store) on my phone, as I didn't want to dive in the deep end and install everything on my computer, and the G2 had a physical keyboard, so... you get the idea.
Anyway, I followed the guide, got a few errors, imported the latest libraries, but I get the "Parse error | There was a problem while parsing the package" message. Halfway through the guide, however, it asks you to run your progress so far, and that worked fine. I have tried changing the android:minSdkVersion and android:targetSdkVersion values, to no avail. Running Jelly Belly Beta 1 (Android 4.1.2)

Related

Serious Problem here guys...

So i downloaded WM6 Black 2.0, and its constantly crashing, so i wanted to re-install it and see if that helped.
now whenever i try to launch the file, i get an error message that states
"custom RUU has encountered a problem and needs to close. we are sorry for the inconvenience."
So im wondering what changed that wont allow me to run the ruu file? Im kinda freaking out here because i need to get my phone working! its constantly crashing on me!
i hope someone knows a fix for this, i tried to search but came up with nothing
newnoise1024 said:
So i downloaded WM6 Black 2.0, and its constantly crashing, so i wanted to re-install it and see if that helped.
now whenever i try to launch the file, i get an error message that states
"custom RUU has encountered a problem and needs to close. we are sorry for the inconvenience."
So im wondering what changed that wont allow me to run the ruu file? Im kinda freaking out here because i need to get my phone working! its constantly crashing on me!
i hope someone knows a fix for this, i tried to search but came up with nothing
Click to expand...
Click to collapse
Looks like a problem on your PC... (I mena for the Customruu crashing)
newnoise1024 said:
So i downloaded WM6 Black 2.0, and its constantly crashing, so i wanted to re-install it and see if that helped.
now whenever i try to launch the file, i get an error message that states
"custom RUU has encountered a problem and needs to close. we are sorry for the inconvenience."
So im wondering what changed that wont allow me to run the ruu file? Im kinda freaking out here because i need to get my phone working! its constantly crashing on me!
i hope someone knows a fix for this, i tried to search but came up with nothing
Click to expand...
Click to collapse
Had this happen to me. I downloaded .net framework 3.0 from the M$ site and then it worked fine.
Maybe that will help you.
Jim
Need more info?
newnoise1024 said:
So i downloaded WM6 Black 2.0, and its constantly crashing, so i wanted to re-install it and see if that helped.
now whenever i try to launch the file, i get an error message that states
"custom RUU has encountered a problem and needs to close. we are sorry for the inconvenience."
So im wondering what changed that wont allow me to run the ruu file? Im kinda freaking out here because i need to get my phone working! its constantly crashing on me!
i hope someone knows a fix for this, i tried to search but came up with nothing
Click to expand...
Click to collapse
Ok, first off, this is not a flame. It's an education, ok?
When posting a problem, it's best practice to let us know your:
Model of phone
Radio version
Boot Loader version
OS on your PC
ActiveSync version (s/b 4.5 by now)
Then, and only then, will you be able to get some intelligent answers. You also need to follow the link in my signature and there you will find answers.
If you're still stuck, usually re-downloading the RUU will result in a working ROM patch, unless you have other PC issues. You really need to fix that first, and the guides posted here are FULL of the diagnostic and troubleshooting steps that will propel you to a successful resolution.
Please read those posts, add your info, and you may be extremely pleased with the results.
Good reading!
newnoise1024 said:
So i downloaded WM6 Black 2.0, and its constantly crashing, so i wanted to re-install it and see if that helped.
now whenever i try to launch the file, i get an error message that states
"custom RUU has encountered a problem and needs to close. we are sorry for the inconvenience."
So im wondering what changed that wont allow me to run the ruu file? Im kinda freaking out here because i need to get my phone working! its constantly crashing on me!
i hope someone knows a fix for this, i tried to search but came up with nothing
Click to expand...
Click to collapse
First off; relax. At least the problem isn't with your phone. It's a heck of a lot easier to fix a PC.
I assume you've already tried to re-download the file?
Did you completely reboot your PC? Shut it down to power down, then restart. Make sure you don't have any extra USB stuff plugged in (like cameras, etc). If you have a PS/2 mouse and KB, use those, and not USB versions. One trick is to have the USB bus on your computer completely empty except for your phone.
Head over to Microsoft's site and download a fresh version of Compact Framework .NET (3.0 is the current version). Reboot after installing it -- even though it doesn't tell you to.
Run Windows Update. Make sure you're OK on those.
If that doesn't work, try downloading another ROM (OS only) -- like the Cingular Black 2.02 or the LVSM ROM, and see if that works.
You can also strip it apart -- use WinRAR to open the EXE file that you've been executing and extract the .nbh file from the EXE. Then go and download this guy: http://wiki.xda-developers.com/index.php?pagename=Hermes_CustomRUU and extract it into its own folder. Copy that .nbh file into that directory, and execute the executable -- it will flash your phone with a known good flasher.
But.... stepping all of the way back ... if the ROM doesn't work on your phone, it's very likely reflashing it won't help a single bit. Those ROM's are checksummed when they go on the phone -- if they're corrupted, they won't load right in the first place (and you'd end up with a boot-loader only phone). Soo... uh.. first, reboot/clean USB, then try a different ROM.
Last resort will be completely reinstalling Windows XP. I've had to do this several times because Windows will get in some weird state and it refuses to flash my phone. I finally gave up and started flashing on my Mac using a Windows virtual machine -- it's a lot easier to restore my Windows system to a working point when I do that.
Thanks to everyone who gave a response!
Here's all the information i was asked to post ( i will remember this for next time)
Cingular 8525 HERM100
Radio version: 1.40.30.00
Boot Loader version: (Not quite sure what this is?)
OS on your PC: Pro Black 2.0
ActiveSync version 4.5
I have redownloaded the ruu about 3 times and it has failed everytime.
Restarted the PC, disconnected everything from my laptop, realized that i havent installed Framework .NET 3.0, ( although i have it on my phone as i needed it to run hitchhiker)
So i'm going to download framework .NEt 3.0 and run it.
As for my phone, i uninstalled all the apps, hard resetted and everything is working fine right now, hasn't froze at all since yesteray, so im going to wait it out and see if something happens again.
Thanks again to everyone!! This forum is really really helpful.
-Matthew
How to determine the bootloader version
newnoise1024 said:
Boot Loader version: (Not quite sure what this is?)
-Matthew
Click to expand...
Click to collapse
You need to have a look at your user guide, as it states how to enter bootloader and check the version. Otherwise press and hold the left OK button and the power button at the same time, then hit the reset button with your stylus. You will enter a tri-color screen. This is bootloader mode. Jot down the numbers and compare against the below link.
Exiting is simple, press the reset button with your stylus.
Here's a valuable link for updating your bootloader.
Bootloader Version: SPL-1.40.01pro
IPL-1.01
i just tried to install Framework .NET 3.0 and got this error message
[04/20/07,08:50:20] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603
[04/20/07,08:57:35] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603
[04/20/07,08:57:54] WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed.
[04/20/07,08:57:54] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 was not attempted to be installed.
i uninstalled any previous version, is there something i'm missing?
.Net Framework co-existence
newnoise1024 said:
Bootloader Version: SPL-1.40.01pro
IPL-1.01
i just tried to install Framework .NET 3.0 and got this error message
[04/20/07,08:50:20] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603
[04/20/07,08:57:35] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603
[04/20/07,08:57:54] WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed.
[04/20/07,08:57:54] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 was not attempted to be installed.
i uninstalled any previous version, is there something i'm missing?
Click to expand...
Click to collapse
You're probably missing version 2.0 of the .NET framework. .NET Framework is to be left in place once installed. You should have left V 2.0 installed and added .NET 3.0. Go to www.microsoft.com/net and get version 2.0 redistributable re-installed on your machine. (If you can). If you cannot, search the KB and you may get by without rebuilding your OS.
"Head over to Microsoft's site and download a fresh version of Compact Framework .NET (3.0 is the current version). To be extra safe, go into Add/Remove Programs and uninstall any existing versions -- reboot -- then install the new CF Framework. Reboot after installing it -- even though it doesn't tell you to."
this is the advice i was given in this thread, so i uninstalled version 2.0 before installing version 3.0.
So am i screwed now? lol
Well, version 3.0 just installed successfully... does that mean i still need to install 2.0? or am i fine just running 3.0?
Sorry for all the questions, i just want this fixed :/
You should be good. Give it a go.
If not, just dl .Net CF2 and install that. I think you are fine now though.
Edit: never mind
version 2.0 installed fine
Thanks everyone

GT540 market and system fault

Hey guys,
i know you won´t like to hear that question, but I am trying to fix that issue for 2 days now but nothing works.
At first, I don´t know too much about all that stuff, but I tried to flash another ROM on my GT540 anyway. Obviously that didn´t work out to good.
The last ROM i flashed on my phone was V20B_00.kdz. I also reset it numerous times. I tried to use different usernames to log in to my google account at the phone. However, when I start the phone I get the fault
"System UIDs Inconsistent: UIDs on the system are inconsistent, you need to wipe your data partition or your device will be unstable. >> I´m feeling lucky"
When I click "I´m feeling lucky" I get the next fault
"Sorry! The application Market (process com.android.vending) has stopped unexpectedly. Please try again. >> Force close"
I get the second fault every time I try to start the Market. A market update didn´t work. I installed an alternative Market, still get the same fault. When I try to download the apps at my Laptop and put it on my SD card of the phone to install it, I get the fault
"Parse Error. There is a problem parsing the package. >> OK"
I tried to install an App to fix that first fault. I think it was ROM_Manager_5.0.0.1. But I get that Parse fault.
I might have changed the memory space for the system with one ROM that I had flashed to the phone. I am not sure about it. I have seen that this might be an issue for some system apps when the system partition would be too small.
I also updated my phone with LG Mobile Support Tool. So I flashed it, reset it, updated it, and now have no idea what do to, as I am not the biggest expert in that.
Help would be great. Thank you.

[Q] Package File Signature Error help

Hello my name is Sean and I have recently rooted my phone (captivate glide) and installed a custom ROM. Whenever I try to update apps like the AT&T Code Scanner, Qik Video Lite, Andoid Keyboard, or even Google Play itself I receive this error message:
"Package file was not signed correctly. Uninstall the previous copy of the app and try again."
Also when I run certain apps like Spot Hero or Clash of Clans I get the following message:
"Google Play services, which some of your applications rely on, is not supported by your device. Please contact the manufacturer for assistance."
I have searched the forums and found a few instances with similar problems, but the issue was either never resolved or didn't match the problem I was experiencing. I've Googled the problem and a few folks suggested using Titanium Back Up to uninstall the app in question and then re-install, but I have read some users say that they are then unable to re-install the app. I don't want to lose any functionality, so I haven't tried that.
Here is a step-by-step of what I did to my phone:
1) Shutdown my phone and rebooted into download mode with Odin 3.04 running
2) Flash CLOCKWORK MOD RECOVERY 6.0.1.2 (found here)
3) Reboot in download mode
4) Flash stock ICS ROM (found here)
5) Flash Superuser 3.2-RC3-arm-signed.zip (following the instructions found here)
5) Flash GApps.zip for 4.0.4 (found here)
6) Reboot and the phone says it's upgrading Android and optimizing applications
7) Once the phone is booted up and the SD card is done scanning I run into the problem described above
Has anyone encountered this problem before? If so, please share your insights.
Thanks for reading and if you have any suggestions I would welcome the help.
hello
i remember i had same problem when i was using ics, i think you shoulr flash anotherics gapps from diferent source. I do not remember where i downloaded mine
I tried some different gapps and I got some apps like Hangouts to update, but now I receive this message when I try to install Google Play Services:
"Incompatible with other application(s) using the same shared user ID."
I did some further looking into this and found that if I wiped my /system data and reflashed my gapps.zipp that seems to work. I installed Youtube first (since it requires Google Play Services) and that took care of everything.
Unfortunately I have lost any progress I may have made in my game apps and have to download/update everything from scratch and reset my ring tones and such, but at least I have a fully functional, rooted phone.
Actually I take that back. Google Play Services seems to be cooperating, but now I'm getting the package file signature problem again.
I resolved the issue by starting over and following Rawr0w0's guide half way down this thread.

[NEED HELP] TWRP backup of nova 2? Android not starting.

I messed up my nova 2 i think. However I got TWRP from cofface, which is working fine. However I am not able to get my phone back working.
I tried this thread with the image supplied there. But no luck. Maybe I am doing it wrong.
I tried to update with sd card update as stated here: https://forum.xda-developers.com/nova-2/help/help-restore-stock-recovery-t3741034
But phone boots in Huawei eRecovery and when I select "Download latest version and recovery", connect to Wifi, the process fails
"Getting package info from server" -> "Getting package info failed".
Any help on how to get my phone back to life / install stock rom / install alt os is very much appreciated. I am not that experienced yet to track errors in my process. :cyclops:

problem installing Aurora Store direct from Auroraoss.com

Hello all,
I'm trying to install the Aurora Store directly from https://auroraoss.com to my Samsung Galaxy Tab 3 (SM-T311) but I'm having some trouble with it.
Once the apk is downloaded I am unable to install it - I get the error message "Can't open file" - please see screenshots 1 and 2.
That's using the Android stock browser, but I tried with Firefox too and it gave the same error.
However, I am able to download the same version of Aurora store from an apk site like Apk Mirror and this will install ok - please see screenshot 3.
I am able to install an alternative equivalent App store e.g. Apptoide directly from their website without problem - see screenshot 4.
Finally, as shown in screenshot 5, the file downloaded from Auroraoss.com shows in File Manager as an unknown file type, but the same apk from an alternative source is recognised as an installable apk for Android, as shown by the icons displayed.
It seems to me that the file downloaded from Auroraoss.com is not triggering the Packet Installer (or being recognised by it), on this device for some reason.
I have already enabled/allowed installation of apps from unknown sources. But maybe I am missing something else, another setting??
Also FYI, my tablet is running Android Nougat 7.1.2 (Lineage OSS 14.1).
I tried running some other custom roms but got the same result.
Just to be clear: of course I know can install Aurora Store from alternate sources as I explained above, but I would much prefer and feel safer to download it direct from original source at Auroraoss.com. Apart from that it's just annoying and a little bit worrying that it mysteriously does not work for some strange weird reason.
Any ideas why this might be happening or what I can do to fix it?
Would appreciate any advice!
Cheers
Dave
cc: @gre8nole, @cuberio1, @tigger2014

Categories

Resources