mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2024-11-10 04:21:04 +00:00
commit
91ddb4f991
@ -11,8 +11,8 @@ android {
|
|||||||
applicationId "io.github.chronosx88.yggdrasil"
|
applicationId "io.github.chronosx88.yggdrasil"
|
||||||
minSdkVersion 15
|
minSdkVersion 15
|
||||||
targetSdkVersion 33
|
targetSdkVersion 33
|
||||||
versionCode 41
|
versionCode 42
|
||||||
versionName "2.1.5"
|
versionName "2.1.6"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
setProperty("archivesBaseName", project.getParent().name+"-"+versionName)
|
setProperty("archivesBaseName", project.getParent().name+"-"+versionName)
|
||||||
|
|
||||||
|
@ -212,8 +212,10 @@ class MainActivity : AppCompatActivity() {
|
|||||||
val sourceDir: String = this.applicationInfo.sourceDir
|
val sourceDir: String = this.applicationInfo.sourceDir
|
||||||
val dexFile = DexFile(sourceDir)
|
val dexFile = DexFile(sourceDir)
|
||||||
val cl = classLoader
|
val cl = classLoader
|
||||||
if (cl != null) {
|
try {
|
||||||
val c: Class<*> = dexFile.loadClass("dummy/Dummy", cl)
|
val c: Class<*> = dexFile.loadClass("dummy/Dummy", cl)
|
||||||
|
} catch (_: NullPointerException){
|
||||||
|
//there is nothing we can do
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val versionName = findViewById<Button>(R.id.about)
|
val versionName = findViewById<Button>(R.id.about)
|
||||||
|
Loading…
Reference in New Issue
Block a user