Исправил коллизии библиотек при билде

This commit is contained in:
Igor I
2024-10-08 10:22:02 +05:00
parent 5ad16b6e35
commit 6589c697ad
5 changed files with 5 additions and 50 deletions

2
.gitignore vendored
View File

@ -9,3 +9,5 @@
/captures
.externalNativeBuild
tctable
/app/release
/app/build

View File

@ -39,7 +39,6 @@ android {
}
namespace 'kz.istt.locust'
compileSdk 33
buildToolsVersion '34.0.0'
}
dependencies {
@ -54,6 +53,7 @@ dependencies {
implementation 'com.google.android.gms:play-services-auth:20.4.0'
implementation 'com.google.maps.android:android-maps-utils:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
}

Binary file not shown.

View File

@ -1,21 +0,0 @@
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "kz.istt.locust",
"variantName": "release",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 101,
"versionName": "3.0.0",
"outputFile": "app-release.apk"
}
],
"elementType": "File",
"minSdkVersionForDexing": 15
}

View File

@ -1,26 +0,0 @@
package kz.istt.locust;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("kz.istt.locust", appContext.getPackageName());
}
}