How to test if an app developed with Android Studio runs in Replicant
Added by Massimo Lo Iacono over 5 years ago
Hi. I developed an app with Android Studio and would like to publish it in Savannah. The app is required to run on Replicant. How can I try if my app runs on Replicant considering I don't have a Replicant system available. Could I run Replicant in emulation in Android Studio? Thank you for every answer.
Massimo
Replies (1)
RE: How to test if an app developed with Android Studio runs in Replicant - Added by Massimo Lo Iacono over 5 years ago
I put here the file "build.gradle" of my project developed in Android Studio. Can anyone, by this, opine whether the program can or cannot run on Replicant? Here's the file:
- start of file "build.gradle" ###
buildscript {
repositories {
jcenter { url 'https://jcenter.bintray.com/' }
}
}
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '27.0.3'
defaultConfig {
versionCode 33
versionName "0.8.3"
minSdkVersion 11
targetSdkVersion 23
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
}
buildTypes {
debug {
debuggable true
minifyEnabled false
applicationIdSuffix '.dev'
versionNameSuffix '-dev'
}
release {
// minifyEnabled true
// shrinkResources true
// proguardFiles 'proguard.cfg'
}
}
lintOptions {
disable 'DuplicatePlatformClasses'
}
}
dependencies {
implementation 'com.android.support:appcompat-v7:23.4.0'
implementation 'com.android.support:support-v4:23.4.0'
implementation 'com.android.support:design:23.4.0'
implementation 'org.apache.httpcomponents:httpmime:4.5.1'
implementation('com.googlecode.json-simple:json-simple:1.1.1')
{
exclude module: 'junit'
}
implementation 'org.jetbrains:annotations-java5:15.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
}
- end of file "build.gradle" ###