Unity LevelPlay 手順(仮)
LevelPlay Unity package のインスト
![](https://assets.st-note.com/img/1719574795355-NsvZQ0pYBz.png)
(logcat インストール)
![](https://assets.st-note.com/img/1719300238060-MB6Rtr56WJ.png?width=1200)
player設定
![](https://assets.st-note.com/img/1719300831318-pw67HGSVFQ.png?width=1200)
![](https://assets.st-note.com/img/1719310808525-A8n1cPQtn3.png?width=1200)
Android Resolve
![](https://assets.st-note.com/img/1719310041414-bRmrK5Tcml.png?width=1200)
![](https://assets.st-note.com/img/1719309921212-KmjHctcgdp.png?width=1200)
https://raw.githubusercontent.com/googlesamples/unity-jar-resolver/master/gradlew.bat
![](https://assets.st-note.com/img/1719311151153-DUqPj1rU9v.png?width=1200)
![](https://assets.st-note.com/img/1719301718768-uOquRRi6z2.png?width=1200)
![](https://assets.st-note.com/img/1719302935287-f3wEPflWFM.png)
Android Resolveセッティング
![](https://assets.st-note.com/img/1719303069434-KlFahBKWTE.png?width=1200)
![](https://assets.st-note.com/img/1719564690294-xXfZFleKzj.png?width=1200)
![](https://assets.st-note.com/img/1719303364752-ACZ9ErOJFI.png?width=1200)
gradle.template.properties書き換え
![](https://assets.st-note.com/img/1719564970035-7HZXxuNvqk.png?width=1200)
![](https://assets.st-note.com/img/1719564894201-qmawY19F1l.png?width=1200)
https://developers.is.com/ironsource-mobile/unity/unity-plugin/#step-4
android.enableDexingArtifactTransform=false
![](https://assets.st-note.com/img/1719565125852-KeWj7YhCpO.png?width=1200)
Manifest.xml書き換え
![](https://assets.st-note.com/img/1719565303551-rgiEfYlQ90.png?width=1200)
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
![](https://assets.st-note.com/img/1719565239258-bKETpqYK6D.png?width=1200)
Android manual integration
Copy .aar file to /Assets/Plugins/Android
![](https://assets.st-note.com/img/1719565846235-CNowGlz4rl.png?width=1200)
LevelPlay Network mana
![](https://assets.st-note.com/img/1719580001072-gklzZrFduY.png?width=1200)
LevelPlay Mediation Setting
![](https://assets.st-note.com/img/1719310205583-1jE9r95irc.png?width=1200)
![](https://assets.st-note.com/img/1719310366187-PKJkYRGqze.png?width=1200)
![](https://assets.st-note.com/img/1719304697915-VThUheNBm8.png?width=1200)
![](https://assets.st-note.com/img/1719304963050-5vouwFE6sA.png?width=1200)
Unity CloudにてApp登録
![](https://assets.st-note.com/img/1719570983460-Cd69RRZm94.png)
![](https://assets.st-note.com/img/1719571043289-SYsoSFgTun.png?width=1200)
![](https://assets.st-note.com/img/1719305198326-HAxQSGZ0eY.png?width=1200)
![](https://assets.st-note.com/img/1719305321894-8sMnCQaJDX.png?width=1200)
![](https://assets.st-note.com/img/1719571095392-Pwi6LPaa09.png?width=1200)
![](https://assets.st-note.com/img/1719571188729-FmetPBtQvm.png?width=1200)
ironsorce Levelplay
![](https://assets.st-note.com/img/1719580458827-E781qmxCCK.png)
![](https://assets.st-note.com/img/1719580564083-BvIDSBzPym.png?width=1200)
![](https://assets.st-note.com/img/1719580708330-blfumx4RWO.png?width=1200)
![](https://assets.st-note.com/img/1719580936057-EurNO5Mn6H.png?width=1200)
![](https://assets.st-note.com/img/1719581249954-daxATQjWc5.png?width=1200)
![](https://assets.st-note.com/img/1719571424832-HgAVBQt8n9.png?width=1200)
ビルド
build.gradle関連のエラーが出てBuild失敗。解消できず、、、
Starting a Gradle Daemon, 1 incompatible and 8 stopped Daemons could not be reused, use --status for details
> Configure project :unityLibrary
Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'unityLibrary\build.gradle'
WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 33
This Android Gradle plugin (7.1.2) was tested up to compileSdk = 32
This warning can be suppressed by adding
android.suppressUnsupportedCompileSdk=33
to this project's gradle.properties
The build will continue, but you are strongly encouraged to update your project to
use a newer Android Gradle Plugin that has been tested with compileSdk = 33
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings
52 actionable tasks: 4 executed, 48 up-to-date
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
> Configuration `releaseRuntimeClasspath` contains AndroidX dependencies, but the `android.useAndroidX` property is not enabled, which may cause runtime issues.
Set `android.useAndroidX=true` in the `gradle.properties` file and retry.
The following AndroidX dependencies are detected:
CommandInvokationFailure: Gradle build failed.
Environment Variables:
PROCESSOR_ARCHITECTURE = AMD64
stderr[
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
> Configuration `releaseRuntimeClasspath` contains AndroidX dependencies, but the `android.useAndroidX` property is not enabled, which may cause runtime issues.
Set `android.useAndroidX=true` in the `gradle.properties` file and retry.
この記事が気に入ったらサポートをしてみませんか?