I am trying to create 'App Engine Connected Android Project' on Eclipse 4.2(Juno) but am facing 2 errors:
1) The first error shows up while creating new project:
Creation of Element Failed.
Reason:
Unknown protocol : d
And yet new project files are created in workspace under project's name. I have installed latest Google plugin for Eclipse, ADT and Android Platform tools. I am not facing any problem while creating 'Android Application' project but while creating 'App Engine Connected Android Project' Eclipse is showing me this error.
2) I can see the newly created project files in workspace but there is one error in MainActivity.java file under src folder saying:
RegisterActivity cannot be resolved to a type
I am working on Win7 Professional 64bit and Eclipse 4.2(32bit).
Did I forget to install any plugins? What should I do?
I had a similar problem. What you can do is right-click on your android project, Google > Generate AppEngine Backend. The AppEngine project will automatically be created.
Then, on AppEngine project you can right click, Google > Generate Cloud Endpoint Client Library to create Endpoints. if you still get RegisterActivity cannot be resolved to a type error, please change your java compiler to 1.6.
It worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With