So I have been working on an app for a project in the android studio for school. Since I am working on it both at home and at school, I uploaded my project to google drive to access it at school. However, when I downloaded the project, unzipped it, and opened it in Android Studio, nothing is showing up and I can't build, clean, or run anything for it. I attached pictures. I suspect this may be due to the fact that since I already uploaded a version of my project to drive before, it added (1) to the end of almost every file in the project. I'm not sure whether this is causing the problems in the android studio. How do I remove them, any suggestions?
ok looks like there is actually no way to do this, oof
Related
I recently started learning android development and I am using Android Studio. For the first couple of days it worked fine but now nothing is working. I can't even get passed the welcome screen. I have tried to delete everything and reinstall it multiple times but it hasn't worked. When I try to start a new Android Studio project it says "Your Android SDK is missing , out of date, or is missing templates." I would like to just completely delete everything and reinstall it. But i'm not sure how to properly do that. Also im using a mac.
To completely remove you can open Finder, goto the Applications folder and locate Android Studio then drag that to the Trash, once done you need to empty Trash.
Then you can download and re-install Android Studio.
Also you may need to take a look at this question as well
Hope that helps.
In android studio, I had a project that was working in first place but then I created multiple copy of it in other paths to add changes to these copies instead of the original.
Afterwards, I noticed that the emulator shows up but doesn't launch the app I am trying to run. I followed a tutorial on YouTube that opens the setting app on the emulator and clears launcher data. then nothing changed.. I noticed that no matter how many changes I am adding to the file, nothing changes in the old app icon existing on the emulator.
Things got much worse later when I noticed that there is no modules or any other folders in the project structure except the SDK and when the older project versions were found to have same problem suddenly.
Even when I create a new project that is empty, same thing happens and the app crashes once it's installed.
Android app icon button before run appears in the project with a red cross over it.
Both the emulator and the mobile device don't get the latest version of the app I am trying to install.
I tried to make project, build, run, clean project, sync with gradle file, invalidate cache & restart. However, none of these solutions seem to work.
No idea what is going on.. things seem to be messed up and all online sources seem to be less useless to me.
Note: I am using Android studio V 1.1.0
so, I found that the best solution to this problem is to uninstall the current version of Android studio and SDK folder and reinstall it from scratch.. hope that helps
I'm trying to add admob to my android app and can't seem to solve this problem. I have imported the whole google__play_services_lib into my workspace, added it to my android project file as a lib, cleaned it a 100 times, updated the android sdk manager 10 times, checked for updates, upgraded to eclipse mars from juno, replaced jar files all over the place and got errors in my res file because of that, I have built projects, then got errors with my appcompat_v7 lib, I have managed to solve that, but the google thing is very-very frustrating and I dont have ideas anymore. I have messed around with my build path again & again. When I refresh the SDK manager, the google-play-services-lib.jar is nowhere to be found on my computer, however, I assume it should be, idk.I have downloaded it, but even that did not work out well. I have a jar.properties file that I shows up from time to time. I have also searched for sources where I can find this whole thing zipped, so I can use that instead of the SDK, cause I dont trust it anymore. So I am stuck.
enter image description here
I am using PhoneGap to develop cross-device (simple) applications, and I am currently using eclipse with the Android Emulator. The problem I am encountering is that it does not appear like my code changes recently are reflected by the application installed on the emulator. I have tried uninstalling the application from the emulator, cleaning and re-building from within eclipse, but neither of those has worked.
Is there some manual script I need to run to re-install the .apk? I am a newbie at mobile development, so please bear with me. :)
Eclipse should automatically rebuild your application if the option is activated. Take a look for it at Project -> Build automatically
The ADT should reinstall an application if you run the project. Take a look at the console (not LogCat) of eclipse, you should see some information about reinstalling the application (at least thats when you deploy on a device).
If you want to try if a change was successfully made, try to use a log statement that you change as soon as you have the feeling that its not the current version. So you can find out if at least the deploy worked.
If nothing of that helped, we should dig deeper...
I had the same problem (my app did not get updated whatever acrobatics I was doing) until I simply refreshed the Project in Eclipse. The javascript files I am using in the project were edited in an external text editor, the HTML in Dreamweaver, so Eclipse apparently never pulled the renewed files from the file system, even after restart. Doing a refresh took care of that.
i put this question in this forum because i am not sure whether this is an eclipse error or an Android error.
yesterday i created an Android application using Google Maps and GPS on Eclipse and it build and ran successfully however today i wanted to do some modification to the code so i started eclipse but it gave me an error.
SDK parse failed
if i try to run it. it says the apk cannot find. how can that be happened? the same application ran successfully on the same environment yesterday. i am using Ubuntu 10.04
Thanks !!
There is a problem with your project, as evidenced by the red x icon on your project title bar shown in the image above. Right-click your project, choose Properties and go through all your properties to make sure they are all still valid. It might be a reference to one of the jar files.
I get this problem all the time, hopefully my solution works for you.
To work around, goto your libraries inside the properties page.
Add any library and then rebuild your project.
Go back and remove the library later for clean up.
The project should still build.