美文网首页
Android 打包

Android 打包

作者: JumboWu | 来源:发表于2016-03-08 10:15 被阅读184次

    准备软件:

    AndroidSDK
    ANT : ANT_HOME
    Python

    环境变量:

    ANDROID_HOME:D:\android\android-sdk
    ANDROID_NDK_ROOT:D:\android\NDK\android-ndk-r10e
    ANDROID_SDK_HOME:D:\android\android-sdk
    ANT_HOME:D:\apache-ant-1.9.4
    JAVA_HOME:C:\Program Files
    (x86)\Java\jdk1.8.0_45

    Path路径:

    Path:D:\Python27;D:\Python27\Scripts;C:\ProgramData\Oracle\Java\javapath;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;
    %ANT_HOME%\bin;%ANDROID_SDK_HOME%\platform-tools;%ANDROID_SDK_HOME%\tools;
    %ANDROID_NDK_ROOT%;

    CLASSPATH:
    .;%JAVA_HOME%\libdt.jar;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\annotations.jar;

    UNITY_PATH: C:\Program Files
    (x86)\Unity\Editor

    Unity.exe -projectPath -nographics -batchmode -executeMethod AutomacticBuild.BuildAndroid -quit

    Build命令:
    Ant clean
    Ant Release

    相关文章

      网友评论

          本文标题:Android 打包

          本文链接:https://www.haomeiwen.com/subject/hslzkttx.html