x


Admob Plugin

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

more ▼

asked Feb 14 '12 at 01:16 AM

christo1745 gravatar image

christo1745
71 7 7 9

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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 .

more ▼

answered Jan 12 at 09:05 AM

neatplug gravatar image

neatplug
51 1

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2480
x394
x74
x23
x1

asked: Feb 14 '12 at 01:16 AM

Seen: 1363 times

Last Updated: Apr 28 at 11:54 AM