could not fined apk file

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

could not fined apk file

Postby bravvve » Mon Sep 15, 2008 4:16 am

hi :D

am newbe.

iv eclipse 3.4 android installed
when trayng to do like
http://code.google.com/android/intro/hello-android.html
i got
[2008-09-15 05:06:56 - HelloAndroid] ------------------------------
[2008-09-15 05:06:56 - HelloAndroid] Android Launch!
[2008-09-15 05:06:56 - HelloAndroid] adb is running normally.
[2008-09-15 05:06:56 - HelloAndroid] Could not find HelloAndroid.apk!

am working under dabian etch,sun java 6
Attachments
capture8.png
preview
capture8.png (158.86 KiB) Viewed 10140 times
bravvve
Freshman
Freshman
 
Posts: 3
Joined: Mon Sep 15, 2008 3:50 am

Top

Postby cgreen » Mon Sep 15, 2008 9:50 am

you have to package your code. its not in an apk package file, which is somewhat similiar to .jar packaging.
i don't know how to do it under debian, thought :(
localhost is the android emulator
User avatar
cgreen
Experienced Developer
Experienced Developer
 
Posts: 56
Joined: Wed Jul 16, 2008 10:16 am

Postby bravvve » Mon Sep 15, 2008 12:50 pm

thanks

but why i cant let eclipse do this like in windows?
:shock:
bravvve
Freshman
Freshman
 
Posts: 3
Joined: Mon Sep 15, 2008 3:50 am

Postby cgreen » Mon Sep 15, 2008 3:13 pm

ow.. i see. you're using eclipse.... well, eclipse is ought to do it.

maybe delete the apk from the emulator, and rebuild your project.
localhost is the android emulator
User avatar
cgreen
Experienced Developer
Experienced Developer
 
Posts: 56
Joined: Wed Jul 16, 2008 10:16 am

solution

Postby bravvve » Mon Sep 15, 2008 11:05 pm

hi

well,iv some one had helped me to fined solution
so in shell

fenec@localhost:~$ su
Password:
localhost:/home/fenec#keytool

if gnu website is montioned in the end of respence,so u have the same problem as me,it's the gcj is alrady installed
with ur package manager uninstall it ,and reinstall sun java 5 or 6,take look in /etc/alternative/keytool proprieties it must be link to /usr/lib/jvm/java-6-sun/jre/bin/keytool
if it is ur HelloAndroid application must run as well
bravvve
Freshman
Freshman
 
Posts: 3
Joined: Mon Sep 15, 2008 3:50 am

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 3 guests