androidtitaniumtitanium-sdk

Invalid value for the 'android:targetSandboxVersion' attribute in the AndroidManifest in titanium


I am getting below error while pushing app for beta release in google play store.

Invalid value for the 'android:targetSandboxVersion' attribute in the AndroidManifest.

I check in my tiapp.xml but didn't found any thing related this. Any help appreciated.

Invalid value for the 'android:targetSandboxVersion' attribute in the AndroidManifest. If publishing an Instant App, consider using the Android App Bundle to add this attribute correctly.

<android xmlns:android="http://schemas.android.com/apk/res/android">
    <manifest android:versionCode="381">
      <uses-sdk android:minSdkVersion="19" android:targetSdkVersion="29"/>
      <supports-screens android:largeScreens="true"
          android:normalScreens="true" android:smallScreens="true" android:xlargeScreens="true"/>
      <application android:theme="@style/Theme.connectMobileTheme">
        <activity android:name=".ConnectActivity" android:label="@string/app_name" android:theme="@style/Theme.Titanium" android:configChanges="keyboardHidden|orientation|screenSize">
          <intent-filter>
            <action android:name="android.intent.action.MAIN"/>
            <category android:name="android.intent.category.LAUNCHER"/>
          </intent-filter>
          <intent-filter>
            <action android:name="android.intent.action.VIEW"/>
            <category android:name="android.intent.category.DEFAULT"/>
            <category android:name="android.intent.category.BROWSABLE"/>
            <data android:scheme="companyname"/>
          </intent-filter>
        </activity>
        <uses-library android:name="org.apache.http.legacy" android:required="true"/>
      </application>
    </manifest>
  </android>

Modules

 <modules>
    <module platform="iphone" version="1.3.0">ti.imagefactory</module>
    <module platform="android" version="4.0.0">ti.imagefactory</module>
    <module platform="iphone" version="2.2.1">bencoding.securely</module>
    <module platform="android" version="3.1.2">bencoding.securely</module>
  </modules>

I tried to change manually in below file but its override when build android app

Project/titanium/build/android/app/build/intermediates/instant_app_manifest/release/AndroidManifest.xml

Google play store upload error


Solution

  • Uploading an instant app is currently not supported: https://jira.appcelerator.org/browse/TIMOB-23412