Hmm… I really don’t know what’s the best way to do show you what I’m doing since there’s only one troubled code and posting my whole LuaLoader class will be too long?
So this is the code inside the LuaLoader class that I do :
mController.setShareMedia(new UMImage(CoronaEnvironment.getCoronaActivity(),R.drawable.kqpromo));
I don’t think we need the context of what the code is since this is just a piece of code to use UMeng Socmed SDK. The problem is that compiler says can’t find symbol R.drawable.kqpromo
While I checked my R.java and found the symbol :
public static final class drawable { public static final int corona\_statusbar\_icon\_default=0x7f020000; public static final int ic\_maps\_indicator\_current\_position=0x7f020001; public static final int ic\_maps\_indicator\_current\_position\_anim1=0x7f020002; public static final int ic\_maps\_indicator\_current\_position\_anim2=0x7f020003; public static final int ic\_maps\_indicator\_current\_position\_anim3=0x7f020004; public static final int ic\_menu\_camera=0x7f020005; public static final int ic\_menu\_refresh=0x7f020006; public static final int icon=0x7f020007; public static final int kqpromo=0x7f020008;
I don’t really understand how the Lualoader class works though since I’m quite noob in native Android development but so far I learned that this symbol isn’t recognizable from LuaLoader class but recognizable in my coronapplication class
ps : I already do the necessary import android.R
Thanks