Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NetBeans+Android: after update i have error: build.xml:77: Android Target is not set

Today Netbeans found new update of android plugin. and i installed it. After that, all my project had "broken platform" instead of Android.2.3. I after i choose platform again ,in project properties, it looks OK. But i can't build project - i get error build.xml:77: Android Target is not set.

I did not change anything in my projects, now they just don't build.. any ideas?

like image 501
Maep Avatar asked Oct 30 '11 06:10

Maep


2 Answers

I think this is bug of plugin, in build.xml. Add to build.xml:

<property file="project.properties" />

like image 111
dirong Avatar answered Oct 21 '22 13:10

dirong


Adding "project.properties" brings up a new error: Target "debug" does not exist in the project

Edit: I feel stupid now! :-) Of course you have to update the android-sdk to revision 15 first. http://www.nbandroid.org/ explains why.

like image 38
DerTroglodyt Avatar answered Oct 21 '22 13:10

DerTroglodyt