I want to compile the demos and trainingcourse

This topic contains 1 reply, has 2 voices, and was last updated by  dumbledore 6 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30445

    brucexiao
    Member

    I want to compile the demos and trainingcourse,but the .apk can not run on my sumsung i9000

    I download the Powervr SDK for Android and installed android sdk,ndk,ant
    according to the document int sdk –‘OpenGL ES 2.x SDK.User Guide.1.32.2.2f.External.pdf’

    step 1:go to the /Build/Android directory and run ‘android update project -p’,the ‘local.properties’ and
    ‘proguard.cfg’ file generated.

    step 2:startup the Cygwin,export ‘NDKROOT’ and ‘PLATFORM’ variables,then typing ‘make’ to
    compile the c++ code

    step 3:run ‘ant debug’ on the command-line

    the .apk file generated,I install it on my Samsung I9000,but it can not run.

    compare with precompiled apk file in Binaries directory,I discover the ‘classes.dex’ is too small,only 1.7K

    #34743

    dumbledore
    Member

    Because the `classes.dex` contains only your javacode, compiled into binary. The compiled C files from the project, should be in the lib folder of the apk file.

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.