Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Android / Tier 1 Eclipse AndroidManifest.xml issue

Author
Message
LittleSteve
13
Years of Service
User Offline
Joined: 19th Sep 2011
Location:
Posted: 14th May 2012 23:53
Hi Guys,

Hopefully this is an easy one for the smart lads - I'm still learning!

When I follow the Building a Tier 1 Android App on Windows instructions (which are very good by the way) at the part when eclipse is used for the first time (3.2.12) and I import my project, I occasionally get an small red cross placed on my project. Eclipse states this is a AndroidManifest.xml error.
When I check it out, the error message is...

error: Error: No resource found that matches the given name (at 'label' with value '@string/app_name'). AndroidManifest.xml

It states this error is on lines 11,12,24.

Does anyone know how to get round this problem.

As I said sometimes I dont get the error it goes through and I can continue to compile the APK and get that on my phone, but then sometimes I cant.
Its either being awkward or I'm being an idiot.
Any ideas.

Thanks in advance

Steve
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 15th May 2012 16:17
Did you do the step 'Android Tools -> Fix Project Properties'?

Can you post the contents of your AndroidManifest.xml file?

And, what version of AppGameKit are you working with?

Cheers,
Ancient Lady
LittleSteve
13
Years of Service
User Offline
Joined: 19th Sep 2011
Location:
Posted: 15th May 2012 21:06
Hi Ancient Lady,

I followed all the steps to the letter.
After I wrote this post, I tried it a couple more times then on the third go it worked ok - though I changed nothing
When the error appears again I'll post the AndroidManifest.

thanks
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 16th May 2012 16:43
I'm glad you got it working.

Happy Programming!

Cheers,
Ancient Lady
MarcoBruti
13
Years of Service
User Offline
Joined: 20th Nov 2011
Location: Caput Mundi
Posted: 16th May 2012 21:01
Sometimes, after importing the project, fixing and cleaning, you have to close Eclipse and re-open it. This got me out of the problems, although it is very like similar to "switch on/switch off" solution typical of many technical fields.
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 16th May 2012 23:26
Or giving whatever electric contraption is misbehaving a whack in the side.

It works wonders at jiggling computer boards into place.

Cheers,
Ancient Lady
LittleSteve
13
Years of Service
User Offline
Joined: 19th Sep 2011
Location:
Posted: 24th May 2012 00:48
Yep, well after a week of using eclipse the 'problem' hasn't reappeared (yet).
Thanks for your help guys.
Just keeping trucking!

Login to post a reply

Server time is: 2024-11-23 15:29:31
Your offset time is: 2024-11-23 15:29:31