- August 5, 2010 at 5:28 pm #30238
I have some trouble building training courses with android SDK openGL ES 1.1 and linux.
The first is ok but when I build training courses including PVRShell, I have an error from javac when compiling PVRShell.java:
package android.view does not exist…The error occurs on each import of an android class (95 errors…)
Maybe my installation of java jdk is not good…
If someone have solved this problem before or could help me…
Thanking you in advance,
MartinAugust 5, 2010 at 5:56 pm #34191Hi,martinrabier wrote:package android.view does not exist…The error occurs on each import of an android class (95 errors…)Is it just complaining about the android.view package missing or are there others? If there are others have you added the Android platforms and other components to your Android SDK as mentioned on http://developer.android.com/sdk/index.html?Thanks,ScottAugust 5, 2010 at 6:01 pm #34192
I forgot to add that if you have added the Android platforms you may need to set the ANDROID_SDK_PLATFORM variable to point to the platform you would like to use.August 5, 2010 at 6:07 pm #34193
You are a god for me Scott!!
I didn’t declare ANDROID_SDK_PLATFORM !!!
I hope I will done some work by myself now!!August 5, 2010 at 6:13 pm #34194
The apk is built bu when I strt the application in the android simulator, it “freeze” on a blue screen
I’m testing Multi-texturing sample..
So the background is drawn but the boxes not…
Have I to add some files to make it working?
Is simulator able to draw it?
martinrabier 2010-08-05 18:15:27August 6, 2010 at 11:31 am #34195
It seems when using the emulator you need to add a call to glViewport otherwise you don’t see anything besides the clear colour.