Android Studio - emulator wont run app. HELP - Android Studio

Hi everyone,
im just getting into android studio and started by making a basic percentage calculator. My app wont run on the emulator i have tryed changing ram speeds and different models. Keeps saying ' instant run preform a clean build and install since the installation on the device does not match the local build on disk' . Any help would be great.
Thanks in advance.

Related

[Q] Total Noooob Question Sry

So I know this is a TOTAL noob question, and its prob not even that big of a problem, but anyways.
I decided I wanted to learn about developing apps and whatnot. So I researched a little and I downloaded:
-Sun j2se jdk 6.0/Then I tried 5.0
-All the android SDK stuff
-Eclipse
I basically followed EXACTLY everything on the SDK page about the helloandroid.apk and getting it to run in the virtual emulator.
I tried doing this for android 2.2 as well as 2.3.3 and both times i get the same results every time I try so Im stumped:
HelloAndroid3] Android Launch!
HelloAndroid3] adb is running normally.
HelloAndroid3] Performing org.example.hello.Hello activity launch
HelloAndroid3] Automatic Target Mode: launching new emulator with compatible AVD 'em23'
HelloAndroid3] Launching a new emulator with Virtual Device 'em23'
HelloAndroid3] New emulator found: emulator-5554
HelloAndroid3] Waiting for HOME ('android.process.acore') to be launched...
HelloAndroid3] HOME is up on device 'emulator-5554'
HelloAndroid3] Uploading HelloAndroid3.apk onto device 'emulator-5554'
HelloAndroid3] Installing HelloAndroid3.apk...
HelloAndroid3] Failed to install HelloAndroid3.apk on device 'emulator-5554!
HelloAndroid3] (null)
HelloAndroid3] Launch canceled!
http://appinventor.googlelabs.com/learn/setup/
haha no dont use app inventor. keep playing with eclipse, you'll get it soon working. i dont think what is posted is enough to know what the problem is.

[Q] nOOb: export apk from Eclipse IDE?

So, I've been doing some Android development tutorials, as I have almost no experience in any sort of coding. I'm working in Ubuntu 11.10 with android-sdk-linux, Eclipse IDE, & java version 1.6
Things are going ok, but...
I tried to export a signed apk of my application project from Eclipse yesterday, and when I try to install it on my D3 I get this error:
HTML:
Error Parsing Package
What am I doing wrong?
thanks in advance...
lunacie said:
So, I've been doing some Android development tutorials, as I have almost no experience in any sort of coding. I'm working in Ubuntu 11.10 with android-sdk-linux, Eclipse IDE, & java version 1.6
Things are going ok, but...
I tried to export a signed apk of my application project from Eclipse yesterday, and when I try to install it on my D3 I get this error:
HTML:
Error Parsing Package
What am I doing wrong?
thanks in advance...
Click to expand...
Click to collapse
Sorry bro, I have no idea. You might get more help Android Development and Hacking or more specifically Android Software Development which is a subforum of the first link. Sorry I personally can't help you out more than that, wish I could.
If your device is recognized as a development device, you should be able to just hit the 'Run' button and it should compile your app, install it to the device and automatically launch it. Your device needs to have USB debugging turned on and you need to have the ADB driver installed (need to get it from Motorola if this is a Moto device, it won't install automatically like the rest of the storage drivers).
My Droid3 shows up as ???????? in adb. I was exporting a signed apk to install because I can't get the device to recognize. Am I missing a configuration of some kind? I'm guessing there's some kind of vendor code or something that I need for ADB to work properly with my phone?
tnx
EDIT: think I figured it out. it's the udev rules, looks like i'm on the right track....
EDIT 2: Got it! Thanks for the heads up.

*remove this thread*

REMOVED
abhimortal6 said:
Got Broken Screen ??
Need To Backup Data or Still Want To Use Your Phone As a Zombie Machine??
Here's The Solution.
Now Fully Control Your Zombie Android's Touch Screen Without Installing Crappy APK.
Or Configuring Your PC Network To Work It Out.
Debugging Must Be On In Order To Use This
Directions To Control Broken Screen. Please Read Very Carefully.
Download .zip Given Below
Extract .zip
Double Click On "RUNME.bat"
Yes That's it ....!
Note : Java Is Required To Run This Program.
For Windows
For Android 2.2+
Download
For Android 4.0+
Download
For Mac/Linux
For Android 2.2+
Download
For Android 4.0+
Download
Mac/Linux Users : Start adb Manually
Hey Don't Forget To Hit Thanks
More Info.
Whats This Program?
Its Android Screen Cast Developed By Unknown Developer Very Long Ago.
But Android Screen Cast Was OutDated And Very Buggy
But After Hours of Tweaking With Source . I Managed To Work It On Latest Java
Bugs Fixed
Issue Fixed Causing Error In Java7+
Android 4.0+ Support Added
Standalone Jar (Still Needs To Run ADB Before Jar Execution)
Click to expand...
Click to collapse
You don't bring anything new except ADB supplied in ZIP
It's simple copy of https://code.google.com/p/androidscreencast/ project (and developers are pointed there)
And even don't open sources...
xSAVIKx said:
You don't bring anything new except ADB supplied in ZIP
It's simple copy of https://code.google.com/p/androidscreencast/ project (and developers are pointed there)
And even don't open sources...
Click to expand...
Click to collapse
*HATER*
Do You Even Read!!
abhimortal6 said:
Got Broken Screen ??
Need To Backup Data or Still Want To Use Your Phone As a Zombie Machine??
Here's The Solution.
Now Fully Control Your Zombie Android's Touch Screen Without Installing Crappy APK.
Or Configuring Your PC Network To Work It Out.
Debugging Must Be On In Order To Use This
Directions To Control Broken Screen. Please Read Very Carefully.
Download .zip Given Below
Extract .zip
Double Click On "RUNME.bat"
Yes That's it ....!
Note : Java Is Required To Run This Program.
For Windows
For Android 2.2+
Download
For Android 4.0+
Download
For Mac/Linux
For Android 2.2+
Download
For Android 4.0+
Download
Mac/Linux Users : Start adb Manually
Hey Don't Forget To Hit Thanks
More Info.
Whats This Program?
Its Android Screen Cast Developed By Unknown Developer Very Long Ago.
But Android Screen Cast Was OutDated And Very Buggy
But After Hours of Tweaking With Source . I Managed To Work It On Latest Java
Bugs Fixed
Issue Fixed Causing Error In Java7+
Android 4.0+ Support Added
Standalone Jar (Still Needs To Run ADB Before Jar Execution)
Click to expand...
Click to collapse
Hi ^^
i can see my Oneplus One with KK 4.4 but i can't control it with my Windows 8 with Java 8.45. I'm root.
Any idea?
Thx in advance ^^
OP removed information
Thread closed

[Q] Android Studio error on first startup

I recently downloaded/installed android studio since I am taking an online class on the topic. I had an error (screenshot attached) the first time I tried to use the program. Reinstalling Android Studio and restarting my computer did not help. Any suggestions?
icecats said:
I recently downloaded/installed android studio since I am taking an online class on the topic. I had an error (screenshot attached) the first time I tried to use the program. Reinstalling Android Studio and restarting my computer did not help. Any suggestions?
Click to expand...
Click to collapse
Go to: Tools > Android > SDK Manager, and make sure you have the latest version of the SDK installed.
If you're up to date then it is most likely an error with your gradle build files. If you can't get it working open your module:app build.gradle file, and check what your 'compileSDKVersion' and 'buildToolsVersion' are.
Try changing your 'compileSDKVersion' to 21, and your 'buildToolsVersion' to 21.1.2. I think these are the most recent stable releases.

Trouble Installing and Using Andorid Studio - Strange Errors.

*Missing license agreement i.imgur.com/ORgjvlw.png
*Missing folder trees i.imgur.com/2EdqMST.png
Thoes are the first two issues I get while installing Andorid studio. I have Java JDK 7 installed. So I assume I have everything I am suppose to have?
After it is installed I got lots of errors
*Floods of errors i.imgur.com/mQuh20P.png
I'm not sure what is wrong or what I am suppose to do.
Thanks.
So I'm going to assume no one can help me with this?

Categories

Resources