You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the following Build Errors, I am not sure should I skip or not. It generated a APK file (APKKiller) though, it could not be opened.
> Task :app:compileDebugJavaWithJavac
D:\File Integrity Check\APKKiller-master\APKKiller-master\app\src\main\java\com\kuro\app\MainActivity.java:41: warning: [deprecation] GET_SIGNATURES in PackageManager has been deprecated
String sig1 = md5(pm.getPackageInfo(packageName, PackageManager.GET_SIGNATURES).signatures[0].toByteArray());
^
D:\File Integrity Check\APKKiller-master\APKKiller-master\app\src\main\java\com\kuro\app\MainActivity.java:41: warning: [deprecation] signatures in PackageInfo has been deprecated
String sig1 = md5(pm.getPackageInfo(packageName, PackageManager.GET_SIGNATURES).signatures[0].toByteArray());
^
D:\File Integrity Check\APKKiller-master\APKKiller-master\app\src\main\java\com\kuro\app\MainActivity.java:54: warning: [deprecation] getInstallerPackageName(String) in PackageManager has been deprecated
apkinstaller1.setText(apkinstaller1.getText() + pm.getInstallerPackageName(packageName));
^
3 warnings
> Task :app:dexBuilderDebug
> Task :app:bundleDebugClassesToCompileJar
> Task :app:mergeDexDebug
> Task :app:compileDebugAndroidTestJavaWithJavac FAILED
D:\File Integrity Check\APKKiller-master\APKKiller-master\app\src\androidTest\java\com\kuro\ExampleInstrumentedTest.java:5: error: package androidx.test.platform.app does not exist
import androidx.test.platform.app.InstrumentationRegistry;
^
D:\File Integrity Check\APKKiller-master\APKKiller-master\app\src\androidTest\java\com\kuro\ExampleInstrumentedTest.java:6: error: package androidx.test.ext.junit.runners does not exist
import androidx.test.ext.junit.runners.AndroidJUnit4;
^
D:\File Integrity Check\APKKiller-master\APKKiller-master\app\src\androidTest\java\com\kuro\ExampleInstrumentedTest.java:8: error: package org.junit does not exist
import org.junit.Test;
^
D:\File Integrity Check\APKKiller-master\APKKiller-master\app\src\androidTest\java\com\kuro\ExampleInstrumentedTest.java:9: error: package org.junit.runner does not exist
import org.junit.runner.RunWith;
^
D:\File Integrity Check\APKKiller-master\APKKiller-master\app\src\androidTest\java\com\kuro\ExampleInstrumentedTest.java:11: error: package org.junit does not exist
import static org.junit.Assert.*;
^
D:\File Integrity Check\APKKiller-master\APKKiller-master\app\src\androidTest\java\com\kuro\ExampleInstrumentedTest.java:18: error: cannot find symbol
@RunWith(AndroidJUnit4.class)
^
symbol: class RunWith
D:\File Integrity Check\APKKiller-master\APKKiller-master\app\src\androidTest\java\com\kuro\ExampleInstrumentedTest.java:18: error: cannot find symbol
@RunWith(AndroidJUnit4.class)
^
symbol: class AndroidJUnit4
D:\File Integrity Check\APKKiller-master\APKKiller-master\app\src\androidTest\java\com\kuro\ExampleInstrumentedTest.java:20: error: cannot find symbol
@Test
^
symbol: class Test
location: class ExampleInstrumentedTest
D:\File Integrity Check\APKKiller-master\APKKiller-master\app\src\androidTest\java\com\kuro\ExampleInstrumentedTest.java:23: error: cannot find symbol
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
^
symbol: variable InstrumentationRegistry
location: class ExampleInstrumentedTest
D:\File Integrity Check\APKKiller-master\APKKiller-master\app\src\androidTest\java\com\kuro\ExampleInstrumentedTest.java:24: error: cannot find symbol
assertEquals("com.kuro", appContext.getPackageName());
^
symbol: method assertEquals(String,String)
location: class ExampleInstrumentedTest
10 errors
> Task :app:packageDebug
> Task :app:createDebugApkListingFileRedirect
> Task :app:assembleDebug
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugAndroidTestJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 22s
61 actionable tasks: 61 executed
The text was updated successfully, but these errors were encountered:
I got the following Build Errors, I am not sure should I skip or not. It generated a APK file (APKKiller) though, it could not be opened.
The text was updated successfully, but these errors were encountered: