Featured post
android - Unable to run imported project -
i have few projects tested working in 1 pc.
i've since moved windows xp pc, , i've setup development tools on xp system. i've downloaded , installed following in order:
1. eclipse classic 3.6.1
2. jdk v6(jdk-6u23-windows-i586.exe)
3. android sdk tools rev8(installer_r08-windows.exe)
4. sdk platform v2.3/2.2, google apis, android api8, rev2, google usb driver, rev4
5. adt 8.0.1
i created new empty project make sure things working, , seem able new project run on emulator fine. however, when imported existing project workspace, bunch of errors, such as: "the import java.util cannot resolved" "the import android cannot resolved"
when @ project properties->java build path, shows "unable system library project" under "libraries" , "order , export". what's wrong?
i've tried copying , pasting .java files , main.xml files imported project new project, , runs correctly...but somehow imported project doesn't.
thanks.
- right click on project name, open properties.
- select java build path (from left menus)
- under "libraries" tab, find entry 'unable system library project', select click on remove button.
- select android (from left menus), tick on version of android want target.
- select project menu (main top level menu), select clean... select ok.
- right click on project name again, go down android tools > fix project properties.
that should trick , add android x.x (version selected) project, , imported project should start working.
enjoy.
- Get link
- X
- Other Apps
Comments
Post a Comment