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