BlueStacks installation failed with previous sdk error

Hi everyone, I am trying to install an apk that I developed with minsdk version 14 and target 19 on bluestacks and it crashes. What's strange is that I installed the app with the same api version 14/19 on the same bluestacks player a month ago (I uninstalled it now though I replaced it with a new apk). Please let me know what api I should be developing for bluestacks. Here's my xml

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.demoww"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
    android:minSdkVersion="14"
    android:targetSdkVersion="14" />

<application
    android:allowBackup="true"
    android:icon="@drawable/earth"
    android:theme="@style/AppTheme" >
    <activity
        android:name=".LoadScreen"
        android:label="@string/Linking_players" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity
        android:name=".SignUp"
        android:label="@string/Signup" >
    </activity>
    <activity android:name=".MainActivity" >
        <meta-data
            android:name="android.support.UI_OPTIONS"
            android:value="splitActionBarWhenNarrow" />
    </activity>
    <activity android:name=".suggestedfriends" >
        <meta-data
            android:name="android.support.UI_OPTIONS"
            android:value="splitActionBarWhenNarrow" />
    </activity>
    <activity android:name=".search" >
        <meta-data
            android:name="android.support.UI_OPTIONS"
            android:value="splitActionBarWhenNarrow" />
    </activity>
    <activity android:name=".requests" >
        <meta-data
            android:name="android.support.UI_OPTIONS"
            android:value="splitActionBarWhenNarrow" />
    </activity>
    <activity android:name=".raul_profile" >
        <meta-data
            android:name="android.support.UI_OPTIONS"
            android:value="splitActionBarWhenNarrow" />
    </activity>
    <activity android:name=".raul_message" >
        <meta-data
            android:name="android.support.UI_OPTIONS"
            android:value="splitActionBarWhenNarrow" />
    </activity>
    <activity android:name=".profile" >
        <meta-data
            android:name="android.support.UI_OPTIONS"
            android:value="splitActionBarWhenNarrow" />
    </activity>
    <activity android:name=".messages" >
        <meta-data
            android:name="android.support.UI_OPTIONS"
            android:value="splitActionBarWhenNarrow" />
    </activity>
    <activity android:name=".friendslist" >
        <meta-data
            android:name="android.support.UI_OPTIONS"
            android:value="splitActionBarWhenNarrow" />
    </activity>

</application>
<!-- To access Google+ APIs: -->
<uses-permission android:name="android.permission.INTERNET" />

<!--
 To retrieve OAuth 2.0 tokens or invalidate tokens to disconnect a user. This disconnect
 option is required to comply with the Google+ Sign-In developer policies







-->
<uses-permission android:name="android.permission.USE_CREDENTIALS" />

<!-- To retrieve the account name (email) as part of sign-in: -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />

<!-- To auto-complete the email text field in the login form with the user emails -->
<uses-permission android:name="android.permission.READ_PROFILE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />

</manifest>

      

+3


source to share


2 answers


If your BlueStacks is installed on a Windows PC, you can check its version by hovering over your taskbar icon.



enter image description here

+1


source


You can check which Android version your BlueStacks version is for by looking at the table below:

http://forum.xda-developers.com/wiki/BlueStacks_App_Player

Android version of my BlueStacks is 4.0.4. API level is 15.

According to the table, the latest version (beta) is 4.4.2 (KitKat).

If you have this version, you should lower the API level for your apk to 15 or even lower.



If your BlueStacks is installed on your PC, you can check its version:

Start-> type "regedit"

In the Registry Editor go to "HKEY_LOCAL_MACHINE", "SOFTWARE", "BlueStacks" and it should be under "Version".

[These instructions for finding the version number of BlueStacks installed were originally posted by intheGame.]

+7


source







All Articles