Quantcast
Channel: Questions in topic: "ads"
Viewing all articles
Browse latest Browse all 1416

Need some help with Unity Airpush plugin

$
0
0
Hello. First of all I want to say sorry for my English... I need to integrate Airpush Standard SDK 8.0 to Unity Android game.
I use Unity 5.2.2p3, Unity3D plugin for Standard SDK 8.0 and jdk1.8.0_65.
Do I need to replace .jar file in Unity SDK with which I downloaded in the "Dashboard" section of the Airpush site (Button "SDK")? The name of this file is com-cgpzhlin-ehgjynwy222383.jar. If I'm right, com.cgpzhlin.ehgjynwy222383 is my package name. I use it in AndroidManifest. Also I use my App Id and Api Key in AirScript.setConfig method (when I call it in Start function the game crashes and resarts all the time).
Do I need to add Google Play Services to my Unity-project? In which way then? I added "version.xml"-file because of this line in AndroidManifest:

Sample Airpush Unity project doesn't build for me an app with ads working. In Editor I get DllNotFoundException (JNI not found) every time I try to use AirScript methods. I found an advice to place libjni.so in Editor folder of Unity installation files. It doesn't work... Please look at the part of my project and help to solve this puzzle. Maybe something's wrong with my manifest file... Hope for your answer

**Content of my Plugins folder:**
- Android
------res
------------values
------------------version.xml
------AndroidManifest.xml
------com-cgpzhlin-ehgjynwy222383.jar
------libjni.so
- JavaVM.cs
- JNI.cs **AndroidManifest.xml**

Viewing all articles
Browse latest Browse all 1416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>