Я обновляю старое приложение для Android для нацеливания SDK 35, чтобы исправить проблемы политики Google Play, чтобы иметь возможность продолжать вносить обновления в приложение. позаботился о устаревшем коде. < /p>
ниже мой файл Gradle < /p>
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android {
compileSdk 35 // Updated to SDK 35
namespace 'com.ushc.mobile.PersonalHealthDashboard'
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
tasks.withType(JavaCompile).configureEach {
options.compilerArgs
< /code>
build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral() // Replacing jcenter() as it is deprecated
}
dependencies {
classpath 'com.android.tools.build:gradle:8.6.0'
classpath 'com.google.gms:google-services:4.4.2' // Updated Google Services Plugin
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
//tasks.register('clean', Delete) {
// delete rootProject
//}
< /code>
On google play store there is no download link because of the msg saying the app is for an older version of android when using the google play testing link. But when i install the app using adb install cmd with the apk file the app installs on an emulator and on the physical pixel device with no issue.
Подробнее здесь: https://stackoverflow.com/questions/795 ... an-interna
Приложение устанавливается без проблем с использованием ADB Install Cmd, но при установке внутреннего тестового приложен ⇐ Android
Форум для тех, кто программирует под Android
1741932967
Anonymous
Я обновляю старое приложение для Android для нацеливания SDK 35, чтобы исправить проблемы политики Google Play, чтобы иметь возможность продолжать вносить обновления в приложение. позаботился о устаревшем коде. < /p>
ниже мой файл Gradle < /p>
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android {
compileSdk 35 // Updated to SDK 35
namespace 'com.ushc.mobile.PersonalHealthDashboard'
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
tasks.withType(JavaCompile).configureEach {
options.compilerArgs
< /code>
build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral() // Replacing jcenter() as it is deprecated
}
dependencies {
classpath 'com.android.tools.build:gradle:8.6.0'
classpath 'com.google.gms:google-services:4.4.2' // Updated Google Services Plugin
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
//tasks.register('clean', Delete) {
// delete rootProject
//}
< /code>
On google play store there is no download link because of the msg saying the app is for an older version of android when using the google play testing link. But when i install the app using adb install cmd with the apk file the app installs on an emulator and on the physical pixel device with no issue.
Подробнее здесь: [url]https://stackoverflow.com/questions/79508264/app-installs-with-no-issues-using-adb-install-cmd-but-when-installing-an-interna[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия