Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Build for Android 2.2(API level 8) or later

  • Loading branch information...
commit b2566e72ef7c6c5230b56d653be0253587c1319a 1 parent 48876ec
@splhack splhack authored
View
8 plugins/Android/install.sh
@@ -1,10 +1,12 @@
#!/bin/sh
-UNITYLIBS="-lib /Applications/Unity/Unity.app/Contents/PlaybackEngines/AndroidPlayer/bin/classes.jar"
+UNITYLIBS="/Applications/Unity/Unity.app/Contents/PlaybackEngines/AndroidPlayer/bin/classes.jar"
DSTDIR="../../build/Packager/Assets/Plugins/Android"
export ANT_OPTS=-Dfile.encoding=UTF8
android update project -p .
-ant $UNITYLIBS release
+mkdir -p libs
+cp $UNITYLIBS libs
+ant release
mkdir -p $DSTDIR
cp -a bin/classes.jar $DSTDIR/WebViewPlugin.jar
ant clean
-rmdir libs
+rm -rf libs proguard-project.txt
View
2  plugins/Android/project.properties
@@ -9,4 +9,4 @@
android.library=true
# Project target.
-target=android-7
+target=android-8
View
BIN  sample/ProjectSettings/ProjectSettings.asset
Binary file not shown

0 comments on commit b2566e7

Please sign in to comment.
Something went wrong with that request. Please try again.