Quantcast
Viewing all articles
Browse latest Browse all 8068

app can't load in emulator for customise manifest file

My app can't load to emulator when i use this piece of code in tiapp.xml and shows '[WARN] : EGL_emulation: eglSurfaceAttrib not implemented' in console

<android xmlns:android="http://schemas.android.com/apk/res/android">
        <manifest>
            <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="16" android:maxSdkVersion="19"/>
            <supports-screens
                android:smallScreens="false"
                android:normalScreens="true"
                android:largeScreens="true"
            />
        </manifest>
    </android>
But if add android:anyDensity="false" like below -
<android xmlns:android="http://schemas.android.com/apk/res/android">
        <manifest>
            <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="16" android:maxSdkVersion="19"/>
            <supports-screens
                android:smallScreens="false"
                android:normalScreens="true"
                android:largeScreens="true"
                android:anyDensity="false"
            />
        </manifest>
    </android>
then my app loaded to the emulator but in this case i can't see any images that added in my app. i tried to test by creating different type of avd with different type of device in avd manager. but no one works except the default one which is created with titanium. i mean if i delete all avd then try to run the app, then titanium studio create a default avd named 'titanium_1_WVGA800' which works perfectly in every case. but if i create a avd except that and try to run the app then above's problems are arise in case specific. can anyone tell me what is the reason behind this ?

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>