0
votes

Upgraded Android Studio and the APK doesn't work, it says "App not installed" I send the APK through Google Drive.

  1. The phone has not installed my app before.
  2. Restarted for using Google Drive install
  3. Tried multiDexEnabled true
  4. Tried android:testOnly="false"
  5. Tried Generated signed APK with v1, v2, and both
  6. Tried Generated signed APK for debug and release with #5
  7. Tried "Build -> Build Bundle / APK -> Build APK
  8. Tried to increase the version Code
  9. Tried Invalidate Caches / Restart
  10. Tried to disable Play Protect from Play Store

They all didn't work at all My phone still shows "App not installs" even I press "Install anyway"

Don't know if this related: "App is not indexable by Google Search; consider adding at least one Activity with an ACTION-VIEW intent-filler."

EDIT: Manifast.xml

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.tang.helloworld" android:hardwareAccelerated="true">

    <application
        android:testOnly="false"
        android:usesCleartextTraffic="true"
        android:screenOrientation="portrait"
        android:allowBackup="true"
        android:hardwareAccelerated="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:largeHeap="true"
        android:roundIcon="@mipmap/ic_launcher"
        android:supportsRtl="true"
        android:windowSoftInputMode="stateHidden"
        android:theme="@style/AppTheme">
        <activity android:name=".MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".setup.SetUpActivity"
            android:launchMode="singleTop"
            android:windowSoftInputMode="adjustResize" />
        <activity android:name=".menu.MenuActivity" />
        <activity android:name=".selection.Activity_List_Level" />
        <activity android:name=".selection.Activity_List_Industry" />
        <activity android:name=".selection.Activity_List_Function" />
        <activity android:name=".selection.Activity_List_Filter_Function" />
        <activity android:name=".book.Activity_Book" />
        <activity android:name=".selection.Activity_List_Record" />
        <activity android:name=".feedback.Activity_Feedback" />
        <activity android:name=".game.Activity_Game" />
        <activity android:name=".game.Activity_Game_Finished" />
        <activity android:name=".game.Activity_Level_Up" />
        <activity android:name=".book.Activity_All_Book"></activity>
    </application>

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE/"/>
    <uses-permission android:name="android.permission.RECORD_AUDIO"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>

</manifest>
1
check the sdk version of app and the phoneVivek Mishra
@TaNG_N get the device detailsRahul Khurana
phone: Android 8.1.0, API 27 app: compileSdkVersion 28; minSdkVersion 25nldjue
Is the dynamic feature added to your AndroidManifest? Share your AndroidManifest.xmlChathura Wijesinghe
hey bro, can you show me your manifest file?HussainAbbas

1 Answers

0
votes

There are multiple reasons that I have faced previously

  • Can you please check whether the instant run mode is activated or not? for me sometimes this instant run created problem.
  • Another option is maybe your phone doesn't support the specified SDK version.
  • There is a chance that the phone doesn't enable the permission to install the app from unauthenticated sources.