|
I'm trying to compile my plugin using ant create-jar. I get this error: /Users/cgriffith/FanBoy heyzap lite/Assets/Plugins/Android/src/com/oyo/FanBoyLite/GAdMobAndroidActivity.java:15: package com.unity3d.player does not exist [javac] import com.unity3d.player.*; [javac] ^ in my ant.properties file I have: external.libs.absolute.dir=/Applications/Unity/Unity.app/Contents/PlaybackEngines/AndroidPlayer/bin I can't figure out why it cant find the com.unity3d.player package. PLEASE HELP
(comments are locked)
|
|
You need to have the Unity android support jar in your classpath. You can find that jar file at /Applications/Unity/Contents/PlaybackEngines/AndroidPlayer/bin/classes.jar. Or, to save your valuable time. there are inexpensive but good plugins provided at http://www.neatplug.com. Hope this helps. EDIT: We now have a trial version for those who need Admob in their projects. The package works seamlessly on both iOS and Android platforms, all you gotta do is a drag & drop. Download it at http://www.neatplug.com/trial?p=p-u3d-admobaduniversal .
(comments are locked)
|
