Hello.
My problem is that android studio 3.1.3 does not support applications that are on the web. My preliminary solution is to use the lower APIs. I changed the build.gradle, see below, and it works so far. For every better solution I will be very grateful.
Sincerely.
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "com.example.***Your user***.texttospeech"
minSdkVersion 23
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
api 'com.android.support:appcompat-v7:25.4.0'
api 'com.android.support.constraint:constraint-layout:1.1.2'
testImplementation 'junit:junit:4.12'
repositories {
maven { url "https://jitpack.io" }
maven { url "https://maven.google.com" }
}
}
— modified on Jul 24, 2018, 9:31:50 PM