Does the Android plugin work?

I am just starting to look at Android developing and I installed the Android plugin in the latest EAP from Maia and created a new project with a Android module... I got generated a few files, among them an xml file and and R.java file and bott contains errors...

The AndroidManifest.xml file looks like this:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="">
    <application android:icon="@drawable/icon">
    </application>
</manifest>


Where IDEA complains about "Cannot find the declaration of element 'manifest' ", why?

Also, the R.java file looks like this..:

package ;

public final class R {
    public static final class attr {
    }
    public static final class drawable {
        public static final int icon=0x7f020000;
    }
}

Where IDEA complains about the package line, which is missing a name...

This looks like some large bugs to me or am I missing something?


Regards,

BTJ

0
2 comments

Is no one using the plugin?

BTJ

0
Avatar
Permanently deleted user

Please, create a package consisting of 2 parts (i.e. p1.p2) and specify it in AndroidManifest.xml (package attribute), and remove old R.java file.

0

Please sign in to leave a comment.