But I ran into a number of problems, the Renpy engine is written in python 3.9 (there is an old version of python 2.7, but it is slowly getting rid of it)
make a release in renpai.
look for the project folder in the rapt folder in the renpai
copy it to the working folder of the project for Android Studio
launch Android Studio.
open the renpai project from the working folder of Android Studio
point the SDK to the SDK from the Renpai folder.
in the lower right corner runs synchronization and/or running
processes. waiting for the end.
open the project gradle scripts - build.gradle
(module:renpyandroid)
at the very end ##dependencies - add code
implementation'com.yandex.android:mobmetricalib:3.13.1'
implementation'com.android.installreferrer:installreferrer:1.0'
9.open the project renpyandroid - manifests - androidmanifest.xml
add this code AFTER
This is what 100% works
And further, at Trying to connect banner ads, I get errors
in build.gradle the libraries are already registered in the project.
The code
com.yandex.android:mobmetricalib:3.13.1
com.android.installreferrer:installreferrer:1.0
in renpyandroid - manifests -androidmanifest.xml lines are also added.
Hello, I tried to follow your instruction https://yandex.com/dev/mobile-ads/doc/android/quick-start/android-ads-component.html to port ads to the Renpy visual novel engine. ( https://yandex.ru/search/touch/?text=renpy&lr=119167 )
For orientation, I used the Google ads example - https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=36030
But I ran into a number of problems, the Renpy engine is written in python 3.9 (there is an old version of python 2.7, but it is slowly getting rid of it)
make a release in renpai.
look for the project folder in the rapt folder in the renpai
copy it to the working folder of the project for Android Studio
launch Android Studio.
open the renpai project from the working folder of Android Studio
point the SDK to the SDK from the Renpai folder.
in the lower right corner runs synchronization and/or running processes. waiting for the end.
open the project gradle scripts - build.gradle (module:renpyandroid) at the very end ##dependencies - add code implementation'com.yandex.android:mobmetricalib:3.13.1' implementation'com.android.installreferrer:installreferrer:1.0'
9.open the project renpyandroid - manifests - androidmanifest.xml add this code AFTER
This is what 100% works
And further, at Trying to connect banner ads, I get errors
https://yandex.ru/dev/mobile-ads/doc/android/quick-start/banner.html
in build.gradle the libraries are already registered in the project. The code com.yandex.android:mobmetricalib:3.13.1 com.android.installreferrer:installreferrer:1.0
in renpyandroid - manifests -androidmanifest.xml lines are also added.
The code
Code // Get filename from "Open with"of another application intent intent = getIntent();
if (intent != null &&intent.getData() != null) { String filename =intent.getData().getPath(); if (filename != null) { Log.v(TAG, "Got filename:" + filename); SDLActivity.onNativeDropFile(filename); } }
RIGHT HERE !!!
}
Please, help