for Unreal Engine 4
- android manifiest must be include "android:exported=“true”
- add this in build gradle: module-app
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
and add dependencies
implementation ‘androidx.work:work-runtime-ktx:2.7.0’
3. project structure
4.0.0 and gradle version 6.8
NB: when your open unreal engine and compile your project all intermediate will be reset and config again in android studio