Skip to content
This repository
Browse code

Build for Android 2.2(API level 8) or later

  • Loading branch information...
commit b2566e72ef7c6c5230b56d653be0253587c1319a 1 parent 48876ec
Kazuki Sakamoto splhack authored
8 plugins/Android/install.sh
... ... @@ -1,10 +1,12 @@
1 1 #!/bin/sh
2   -UNITYLIBS="-lib /Applications/Unity/Unity.app/Contents/PlaybackEngines/AndroidPlayer/bin/classes.jar"
  2 +UNITYLIBS="/Applications/Unity/Unity.app/Contents/PlaybackEngines/AndroidPlayer/bin/classes.jar"
3 3 DSTDIR="../../build/Packager/Assets/Plugins/Android"
4 4 export ANT_OPTS=-Dfile.encoding=UTF8
5 5 android update project -p .
6   -ant $UNITYLIBS release
  6 +mkdir -p libs
  7 +cp $UNITYLIBS libs
  8 +ant release
7 9 mkdir -p $DSTDIR
8 10 cp -a bin/classes.jar $DSTDIR/WebViewPlugin.jar
9 11 ant clean
10   -rmdir libs
  12 +rm -rf libs proguard-project.txt
2  plugins/Android/project.properties
@@ -9,4 +9,4 @@
9 9 android.library=true
10 10
11 11 # Project target.
12   -target=android-7
  12 +target=android-8
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.