У меня есть скрипт ant, который создает &. Разверните приложение MFP для Android (wlapp и apk). Я также загружаю приложение в AppCenter.Не удалось установить Android apk из AppCenter
Проблема в том, что я не могу установить (на устройстве - Huawei P6) apk из AppCenter с помощью приложения AppCenter - он загружает приложение, но установка не увенчалась успехом. Загруженное приложение не подписано.
Запуск приложения для Android из MFP Studio отлично работает.
Какие шаги я должен выполнить, чтобы сделать установку из приложения AppCenter? Где я могу увидеть журналы из AppCenter?
Спасибо!
Ant цель:
<target name="build-android-windows" if="isWindows" description="Build the Android .apk" depends="">
<!-- These must be set in your local.properties file in the root of the android project.
This is sensitive information and is not checked into the repository
<fail unless="android.store" message="Property android.store missing" />
<fail unless="android.alias" message="Property android.alias missing" />
<fail unless="android.store.password" message="Property android.store.password missing" />
<fail unless="android.alias.password" message="Property android.alias.password missing" />
-->
<!-- use android.release_target if defined, otherwise default to 'release' -->
<property name="android.release_target" value="release"/>
<!-- call the project's build.xml to clean -->
<ant antfile="${src.dir}/apps/${curBrand}/android/native/build.xml" inheritAll="false" useNativeBasedir="true" target="clean"/>
<!-- call the project's build.xml to make a build -->
<ant antfile="${src.dir}/apps/${curBrand}/android/native/build.xml" inheritAll="false" useNativeBasedir="true" target="${android.release_target}" />
<!-- copy the file to build.dir -->
<copy file="${src.dir}/apps/${curBrand}/android/native/bin/${curBrand}-${android.release_target}-unsigned.apk" tofile="${build.dir}/android/${build.apk}" overwrite="true" failonerror="true"/>
</target>
Вы пытались подписать свой apk (попытайтесь создать его без муравья на мгновение), а затем загрузите этот apk в appcenter и попробуйте установить. Проходит ли это? –
Вы проверили параметры безопасности на устройстве? Установить из других источников, кроме Playstore? –