Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid 2.3.3 app doesn't work in 4.0.3
    text
    copied!<p>I was working on a project which I developed in Android 2.3.3.</p> <p>I want to continue developing it on Android 4.0.3, but it doesn't work.</p> <p>When I delete <code>usesminsdk</code> from manifest file, it works.</p> <p>Is there any other way to do it? Is my way healthy? </p> <pre><code>06-19 09:19:33.122: E/AndroidRuntime(595): FATAL EXCEPTION: main 06-19 09:19:33.122: E/AndroidRuntime(595): android.os.NetworkOnMainThreadException 06-19 09:19:33.122: E/AndroidRuntime(595): at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1099) 06-19 09:19:33.122: E/AndroidRuntime(595): at java.net.InetAddress.lookupHostByName(InetAddress.java:391) 06-19 09:19:33.122: E/AndroidRuntime(595): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:242) 06-19 09:19:33.122: E/AndroidRuntime(595): at java.net.InetAddress.getAllByName(InetAddress.java:220) 06-19 09:19:33.122: E/AndroidRuntime(595): at libcore.net.http.HttpConnection.&lt;init&gt;(HttpConnection.java:71) 06-19 09:19:33.122: E/AndroidRuntime(595): at libcore.net.http.HttpConnection.&lt;init&gt;(HttpConnection.java:50) 06-19 09:19:33.122: E/AndroidRuntime(595): at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:351) 06-19 09:19:33.122: E/AndroidRuntime(595): at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:86) 06-19 09:19:33.122: E/AndroidRuntime(595): at libcore.net.http.HttpConnection.connect(HttpConnection.java:128) 06-19 09:19:33.122: E/AndroidRuntime(595): at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:308) 06-19 09:19:33.122: E/AndroidRuntime(595): at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.makeSslConnection(HttpsURLConnectionImpl.java:460) 06-19 09:19:33.122: E/AndroidRuntime(595): at libcore.net.http.HttpsURLConnectionImpl$HttpsEngine.connect(HttpsURLConnectionImpl.java:432) 06-19 09:19:33.122: E/AndroidRuntime(595): at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:282) 06-19 09:19:33.122: E/AndroidRuntime(595): at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:232) 06-19 09:19:33.122: E/AndroidRuntime(595): at libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:273) 06-19 09:19:33.122: E/AndroidRuntime(595): at libcore.net.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:168) 06-19 09:19:33.122: E/AndroidRuntime(595): at libcore.net.http.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:270) 06-19 09:19:33.122: E/AndroidRuntime(595): at com.facebook.android.Util.openUrl(Util.java:215) 06-19 09:19:33.122: E/AndroidRuntime(595): at com.facebook.android.Facebook.request(Facebook.java:751) 06-19 09:19:33.122: E/AndroidRuntime(595): at com.facebook.android.Facebook.request(Facebook.java:688) 06-19 09:19:33.122: E/AndroidRuntime(595): at tr.edu.ege.yanyanayiz.LoginController.getProfileInformation(LoginController.java:116) 06-19 09:19:33.122: E/AndroidRuntime(595): at tr.edu.ege.yanyanayiz.LoginController.startNewIntent(LoginController.java:50) 06-19 09:19:33.122: E/AndroidRuntime(595): at tr.edu.ege.yanyanayiz.LoginController$2.onComplete(LoginController.java:95) 06-19 09:19:33.122: E/AndroidRuntime(595): at com.facebook.android.Facebook$1.onComplete(Facebook.java:354) 06-19 09:19:33.122: E/AndroidRuntime(595): at com.facebook.android.FbDialog$FbWebViewClient.shouldOverrideUrlLoading(FbDialog.java:144) 06-19 09:19:33.122: E/AndroidRuntime(595): at android.webkit.CallbackProxy.uiOverrideUrlLoading(CallbackProxy.java:224) 06-19 09:19:33.122: E/AndroidRuntime(595): at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:324) 06-19 09:19:33.122: E/AndroidRuntime(595): at android.os.Handler.dispatchMessage(Handler.java:99) 06-19 09:19:33.122: E/AndroidRuntime(595): at android.os.Looper.loop(Looper.java:137) 06-19 09:19:33.122: E/AndroidRuntime(595): at android.app.ActivityThread.main(ActivityThread.java:4424) 06-19 09:19:33.122: E/AndroidRuntime(595): at java.lang.reflect.Method.invokeNative(Native Method) 06-19 09:19:33.122: E/AndroidRuntime(595): at java.lang.reflect.Method.invoke(Method.java:511) 06-19 09:19:33.122: E/AndroidRuntime(595): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 06-19 09:19:33.122: E/AndroidRuntime(595): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 06-19 09:19:33.122: E/AndroidRuntime(595): at dalvik.system.NativeStart.main(Native Method) </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload