Page 1 of 1

GCMIntentService.java:[67,36] error: package R does not exist

Posted: Wed Feb 18, 2015 4:48 pm
by M&M

hi,

I have a new app where I just have a few pages with almost no other code or any JS files, service etc. Absolutely nothing but just a few pages. But when I try to package it to an APK I get this error

/src/io/appery/project266006/GCMIntentService.java:[67,36] error: package R does not exist
/src/io/appery/project266006/GCMIntentService.java:[90,24] error: package R does not exist
/src/io/appery/project266006/GCMIntentService.java:[95,46] error: package R does not exist

Any idea what this could be?

Thanks,
M&M


GCMIntentService.java:[67,36] error: package R does not exist

Posted: Thu Feb 19, 2015 7:39 am
by Evgene Karachevtsev

Hello M&M,

Could you please share your app with support and tell us its name, we'll check our logs.


GCMIntentService.java:[67,36] error: package R does not exist

Posted: Thu Feb 19, 2015 10:03 am
by M&M

hi Evgene,

I tried doing this

I deleted AndroidManifest.xml (as I did not really put any custom config in there). Then I choose the upper most "ANDROID" folder, and chose to "Undo all Source Changes". It then automatically rebuilt the AndroidManifest.xml. And after that I can make the APK without any issues!

I am not very sure if that was the right way to do it - but ya it worked for me.

Cheers,
M&M


GCMIntentService.java:[67,36] error: package R does not exist

Posted: Thu Feb 19, 2015 10:14 am
by Evgene Karachevtsev

M&M,

Yes there is such approach to restore default structure of source files, glad it works!


GCMIntentService.java:[67,36] error: package R does not exist

Posted: Thu Feb 19, 2015 2:06 pm
by M&M

thanks Evgene


GCMIntentService.java:[67,36] error: package R does not exist

Posted: Mon Nov 28, 2016 9:45 am
by She

any idea about this onBuild error

Most likely build error cause:

COMPILATION ERROR :

EDS_BRIDGE/src/io/appery/project284608/GCMIntentService.java:[67,36] error: package R does not exist
EDS_BRIDGE/src/io/appery/project284608/GCMIntentService.java:[91,24] error: package R does not exist
EDS_BRIDGE/src/io/appery/project284608/GCMIntentService.java:[96,46] error: package R does not exist
EDS_BRIDGE/src/io/appery/project284608/GCMIntentService.java:[97,60] error: cannot find symbol
4 errorse? i encounter


GCMIntentService.java:[67,36] error: package R does not exist

Posted: Mon Nov 28, 2016 9:48 am
by She

i tried M&M suggestion but its not working for me i need this badly my deadline is today but i cant build a apk -_-


GCMIntentService.java:[67,36] error: package R does not exist

Posted: Mon Nov 28, 2016 9:50 am
by She

i already shared my work please see and help me out


GCMIntentService.java:[67,36] error: package R does not exist

Posted: Mon Nov 28, 2016 11:48 am
by Illya Stepanov

Hello - As I can see you are using older Libraries version with your project version 2.2, you can try to upgrade the Libraries version for your project to 3.1

And also I can see that you have intensely edited the project Source files for this project. Make "Undo all the source changes" for the Android folder and give it another try.


Re: GCMIntentService.java:[67,36] error: package R does not exist

Posted: Wed Mar 16, 2022 2:16 am
by kennedystewart

Please try to upgrade your old version to improve it