I'm currently running Liquidsmooth Rom on my AT&T Galaxy SIII. I've got everything running fine, but when I go to install Facebook from the Play Store, I'm getting "Package file invalid" every time. I've tried clearing data from both the play store and the google play services, rebooted the phone into recovery and cleared cache and dalvik cache. The same thing happens no matter what.
Edit:After trying to download on LTE rather than on WIFI, it worked fine.
On both my Nexus 4 and Note 8, I'm having severe wifi issues. It's so slow. On my laptop, speedtest.net shows 35Mbps down, 7Mbps up. On Nexus 4 and Note 8 it's like 0.7Mbps down and 0.1Mbps up. I did the speed tests because I'm trying to download something off the Play Store and it's going 200KB/s!! Not sure what's going on because usually downloads are super fast, especially on wifi.. I can normally download a 2GB file in 10 minutes.
Other issues are "Package file is Invalid" and "Cannot download ... error 497" and "Error retrieving information from server"
I've tried clearing data and cache for Play Store and Google Services. I've tried removing my account and adding it again. I've tried unplugging this, unplugging that, restarting this, restarting that. The ONLY thing that has worked is using mobile data instead of wifi. AND using my phone to tether so my tablet connects to the phone's mobile data and I was able to download updates that way. But right now I'm trying to download a pretty big file on my phone and I'd rather not go over my data limit.
I am seeing an issue on my HTC Sensation when attempting to update Apps that I paid for in the Google Play Store. The exact message that I see when attempting to update these Apps is "Package File is Invalid".
Here is a bit of background to this issue -
1). My HTC Sensation has a custom ROM (Elegancia) installed, and I have now re-installed it (which is when these issues started).
2). I can install a ROM and update Apps through the Play Store just fine at the start
3). I install Titanium Backup and perform a restore (I have tried restoring only data & apps + data [starting from scratch and wiping the phone then installing the ROM again to test both scenarios])
4). Apps return to the state that they were in before I flashed the new ROM
However now whenever I attempt to update Apps I get the infamous "Package File Invalid" message ***
I have noticed when opening Titanium Backup that it alerts me that the "Android ID" has changed, it also gives two options, 1). Leave the new ID, 2). Restore the old ID
5). I tested the updating of Apps both whilst keeping the new "Android ID", and whilst restoring the old "Android ID", the ID (whilst I am sure is important) doesn't seem to affect whether or not Apps will update.
This issue only appears to be affecting Apps that I have purchased, and the Play Store still recognizes that I have purchased the Apps.
I am successful in creating file using openFileOutput(). and can read the file using openFileInput().
I am able attach file from external storage sdcard while emailing the same using getExternalStorageDirectory as sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://"+Environment.getExternalStorageDirectory()+"/ zibra.txt"));
But while trying to attach file from the openOutputFile stored area using sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://"+ getFilesDir() + "/zibra.txt"));, resulting emptied file emailing.
My file is stored in "/data/data/com.example/files/zibra.txt".
I'm trying to get and display a live .kml file from maps.google.com using
However after opening the mapview I get a notification saying "The community map could not be displayed because it contains errors"
I only get this error if I download the .kml directly from maps.google. If I copy the exact same link into my address bar, download the .kml file, and upload it elsewhere then it works fine. I would like to be able to get the maps directly from Google that way I can make a change and it would be immediately reflected to my users.
I started my android project in 4.1 (API level 16) then 4.2 came out so I updated the preferences and AndroidManifest to API level 17. However, when I tried to run my app on my Nexus 4 running 4.2.1, I kept on getting this error in eclipse:
Code: [2012-12-22 19:30:51 - Rhiokai] Installation failed due to invalid APK file! [2012-12-22 19:30:51 - Rhiokai] Please check logcat output for more details. [2012-12-22 19:30:51 - Rhiokai] Launch canceled!
The Logcat is so long, I don't know which part is relevant. I've tried cleaning the project, the target SDK version is set to 17 and I changed the Project Build Target to API 17 as well. I've rooted my phone and have clockworkmod on but I don't have a custom kernel. What do I need to do to fix the APK file and change the permissions?
I accidentally deleted the AndroidManifest.xml from the Package Explorer panel. The file still exists intact in the original directory but I cant find any option in the Eclipse ide that seems to be for restoring it. I thought it might be 'Import' but manifest isnt one of the types on offer. Can anyone suggest how I can get the file into the package?
I CANNOT download the zip file(my computer says invalid) whats up any one got a clue do i need to tell my computer its ok or do i need a FREE program in my computer to help me out confused...I started already on my D1 to manually download takn a little while though throught the D1 to dnld the files only on 1 gotta go to 7
I am trying to put an XML file containing over 1,000 different fish into my app so that I can read this file, create an Array and attach that to the AutoCompleteTextView. I first tried to create a string-array in a resource file but apparently the array was to large and would never actually load anything after a certain number of values. So want I want to do is add that XML file to a place in my app that I can access it and read from it. Whenever I try to bring the XML file in I get all these errors in Eclipse. So how do I add this file and how do I reference it later in order to access it? I could just store it online and access it that way but I think it is a little bit of a waste to have to access the net for that if I can instead just add it to my package setup someplace.
I have created a service that works great, it is launched from an activity at the moment. I'm looking to package it into a .jar file so that other people can add the jar to then their projects and then run the service. Can anyone tell me how I can launch this service from the app that it is included in?
General question for those in the "know". I'm trying to free up some space on my SD card (before I upgrade to a 32GB) and I was wondering---for apk's downloaded outside of the market..once you install that apk, can u delete the apk package file off your SD? Or will this cause problems to the overall application itself?
I need to save these configurations into a file, and in my app I could change these configurations. In other words, I need a file to take all my config data, and in my app, I could read/write this file as I want.
I've searched document and mailing list archive, and have not found the exact solution. 1. SharedPreferences could not solve : It could only do with simple key/value pairs, my configuration data is more complex . 2. file in /assets , /res/raw could not solve: It seems that the file in these position would be read only
I've found a way, it almost solved my problem, but still not. Our code could deal with the file in /data/data/package-name/files on the target file system, this is good to me, but how could I put my file in this directory after my app has been installed? My app need to read these configurations when it starts.
My question is how could I pack my data file into my apk package, and then my app could read/write this file when it is run.
New Moto Droid X here. When attempting to install the new 5.0 version of "My Verizon" app I get this error when installing. "Installation error, Package was not signed correctly. I have rebooted and all that good stuff still not working. And there is no way to uninstall and reinstall being that this app comes factory on the x.
I have some problem installing my apk file in code. Wondering if anyone could find out what I did wrong. What I was trying to do is put a Check Upgrade function in our program. When user clicks it, it will send request to our web server and find out what is the latest version. I use app versionName to stamp a version, something like 2010.11.23. I don't use the version code in Manifest.xml file. So our program sees the latest VersionName is later than itself, it will download the latest one, and then use the following code to install the new apk file:
Now looks like, everytime when I changed the VersionName, it will fail to install the apk file. It downloads the file fine. I don't know exactly why. Sometimes, in Eclips, when I hit debug, I got error saying "Re-installation failed due to different application signatures". I don't know if this is the same error caused the installation failed.
So, looks like my questions are:
Should that upgrade logic work? I am wondering if it has something to do with the VersoinName. What could cause the application signature change? (I did sign our program before I put it on our server, but I always use the same key file for different versionName. )
I published my app on the market, and when I first tried installing it from there, I got the 'package file was not signed correctly' error. Uninstalling the unsigned version I was testing with let me install from the market with no problems. However, from the comments, it looks like no one else can install my application.
I've put other versions up that worked, and I used the same certificate, so I'm pretty sure it is not an issue with the validity days for the certificate.
The name of my application is Bloxors. It will be going up and down as I try to figure out what the issue is here, but if someone else who is getting the error can debug it it would be greatly appreciated.
I dont want to hardcode the name of the package or where it lives when building an Android project with ant. Im using the build file generated by Android. What properties contain the output folder (bin) and package name (e.g. package.apk) ?