I'm trying to use Genymotion virtual machine in Eclipse. I installed several virtual machines, but I'm having problems when I want to see changes made on my app. Every time I add something new to my app, is not showing it up on the emulator. Does anybody know how "refresh" the Genymotion emulator so I can show the changes made in the app?
Thanks
If your problem is coming from the XML resources it could be caused by a refresh that is not done on the Eclipse side. I had this problem a very long time ago. I had to uninstall the app before installing it again.
You can try different manipulations, one of them should solve your problem:
First, check that your new APK is correctly transfered and installed on the device. Look at the console output for that.
Or, change a character on a JAVA file and save, before building your app
You can also clean your project before running your app
And finally, uninstall your app before installing it
Related
I tried running my Flutter app on an emulator and it works just fine. Then after trying out the application a few times, I decided to create an .apk file out of the app, but when I tried to install it on my phone, it just outputs white screen and nothing else (usually when I ran it, it outputs the login screen). I also had my friend install the .apk file to his phone, but to no avail he also reported a white screen and nothing else.
Then I tried another method of loading the app by running the application on my phone, instead of building the .apk file and installing it manually on my phone. To my surprise it works perfectly if I were to run the application from the Android Studio IDE directly onto my phone.
Can somebody point out to me what am I missing here? Am I supposed to change something in my build.gradle file before compiling it into an .apk file? Let me know if you have any ideas!
Thanks!
Are you using Firebase or other packages?
If yes, you can probably having error when use a release mode app. And to fix it, we need to know what packages you are using.
If not, please follow this issue https://github.com/flutter/flutter/issues/70558
I'm using Android Studio 3.5 and can't install an app from it.
My app is already on play store and I'm upgrading the app.
It keeps saying there's a same application.
Okay, so I deleted it, but it keeps saying that.
First a pop-up window saying that I will have to uninstall the existing application. I know why it happens. I develop on my laptop and my desktop at the same time so it happens all the time. And this app doesn't have my data so I've clicked okay and proceeded and there was no problem. But,
The device already has an application with the same package but a different signature.
Retry
The application could not be installed: INSTALL_FAILED_UPDATE_INCOMPATIBLE
in new. And even I don't have the app, why does it say like that???
And installation is way too quick on play store.
I think the app isn't deleted properly.
So basically, I have no app on the phone, the data, cache, apk, anything, but it keeps saying there is a same app with a different signature.
I have
Deleted the existing app and it still didn't work
Re-downloaded the app and ran and didn't work
And as expected, it says if I wanna delete it, pushed OK. And the app is
automatically deleted.
also adb uninstall com.~~.~~ not working
Set debuggable true, still not working
Ran on a friend's phone which already has the exact same app from the store
and it works.
Tried to disable instant run but android studio 3.5 does not have that anymore.
Rebooted my phone.
Deleted caches of android studio and restarted it, as many as I could.
adb shell pm list packages -f : the package does not exist.
done adb uninstall com.~~.~~ and got Success code, but still not working
There's nothing wrong with codes.
Build works perfect. It runs perfectly on my friend's phone.
I expect for the app to run perfectly but,
the studio says
The device already has an application with the same package but a different signature.
Retry
The application could not be installed: INSTALL_FAILED_UPDATE_INCOMPATIBLE
Also, installation is too slow. It wasn't slow like this.
this happen when you have multiple spaces or user in single phone, it will be helpful if you can tell about your phone model
Recently I had a small break of my app project, during this "free time" I accentily deleted the app code. I had it stored in my downloads folder which from time and time I clean up, in a rough fashion.
Now I still have the app on my mobile and managed to get the app file named: "com.example.username.projectname" from my mobile to my laptop. I only used my phone as a emulator and can run the code fine on my mobile. Now is there any way of recovery for my project so I can start to work on my project again. Or is the only option to start all over again?
You said that you had the app in the mobile. Take a backup of the apk and try decompiling the apk using available apk decompiling tools
In the end I decided to rebuilt my app from scratch. The difficulties to reverse engineer the APK file were to many. Trying to restore the file via deleted file restores software didn't resolve the problem either. Because of this experience I backup my app every time when I make a change to it.
I am new to Trigger IO. I downloaded the current Toolkit and installed it on my machine. I created an account and project, and then the first App. When I try to use the interface to run the "Android app", everything seems to build correctly, but it will not launch the Android emulator. I get a prompt to either select the location of the Android SDK or a prompt to download it. If I select Download, nothing happens... the screen just flashes and I'm prompted again. I've tried two different machines and no luck. Can someone help me get the sample app to run using an Android emulator? The Trigger IO does not work correctly after the install. On a side note, if you run Trigger IO in the current version of IE (IE11), it does not render the screen correctly and it doesn't keep you logged in (you just get a blank screen). Please help!
Thanks,
Brian
If you properly installed the Android SDK, make sure you point the Android SDK Trigger config to the subfolder named sdk, not just the root of the bundle. For example I have /Users/shennyg/adt-bundle-mac-x86_64-20140321/sdk/ you may be using /Users/shennyg/adt-bundle-mac-x86_64-20140321/.
Good luck!
I am a new programmer for Android, but I have been using eclipse for a year and a half now. I am developing an Android Application for my school's health department to allow students to track certain health behaviors overtime.
I have completed the coding of the app and have successfully tested it on a virtual device. The applications runs fine on the AVD.
However, the problem arises when I export the project as an Android application through eclipse. I create the apk file using the debug.keystore and the androiddebugkey. I create the apk file (which is about 115 kilobytes). Next, I connect by phone (an LG Thrill) and open it via My Computer. I drag and drop the apk file into the "downloads" folder in the phone.
I use a Market App called ASTRO to access the apk file in the downloads folder. However, when I try to install it, I get the dreaded "There is a problem parsing the package" error. I have had this problem for weeks now.
I have tried all sorts of solutions. I have developed the app for the same Android level as the phone. I have tried making my own keystore and exporting. I have also tried making smaller apps (ie: HelloWorld) and installing them. I keep getting the same error.
One thing that I noticed was that whenever I go to the apk file in the ASTRO Market app and click on the apk file and then "Open App Manager", I see that none of the apk file's settings (ie: Name, Size, details) are shown. All the Marketplace apps I have in the folder have visible settings by my apps don't.
What might I be doing wrong? Is it something with building the apk file? Or am I uploading it onto my phone incorrectly? Whatever it is, please let me know.
Go to: Settings->Security->Device Administration and make sure you have Unknown Sources enabled.
Have you checked your manifest file? What is the required minimum version of Android that you need, and what is the version on the device you are installing it on? Everytime I have run into this problem, it is because the device has less than the minimum required version of the operating system on it.
Home-->Settings-->Application Settings-->Unknown Sources Click Checkbox on
I know it's kinda old topic but it has just happened to me (Android 4.1.1).
Solution: If you have wifi turned on, make sure you have internet access. I dealt with this problem and multiply requests to install application appeared.