Ir para conteúdo

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Matheus Weber

.apk - conteudo nao suportado

Recommended Posts

Eu to perguntando aqui porque não tenho a minima ideia do que pode ser.


Eu desenvolvi um app no Eclipse para Android, funciona perfeito no simulador e tudo mais, porém eu exportei ele pra .apk, e o celular não reconhece, e não mostra nenhum erro, ele só diz: "conteudo nao suportado"


Vocês tem alguma ideia do que pode ser?


Meu primeiro app, to desesperado, é só uma webview :(

Compartilhar este post


Link para o post
Compartilhar em outros sites

Será que a versão do Android do seu celular é menor do que a versão em que você desenvolveu?

Compartilhar este post


Link para o post
Compartilhar em outros sites

Nao é nao, já verifiquei isso :(

 

 

Eis o manifest:

 

 

<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android"    package="com.example.provincia"    android:versionCode="1"    android:versionName="1.0" >    <uses-sdk        android:minSdkVersion="3"        android:targetSdkVersion="8" />    <application        android:allowBackup="true"        android:icon="@drawable/ic_launcher"        android:label="@string/app_name"        android:theme="@style/AppTheme" >        <activity            android:name="com.example.provincia.MainActivity"            android:label="@string/app_name"             android:theme="@android:style/Theme.NoTitleBar">            <intent-filter>                <action android:name="android.intent.action.MAIN" />                <category android:name="android.intent.category.LAUNCHER" />            </intent-filter>        </activity>            </application> <uses-permission android:name="android.permission.INTERNET" />    </manifest>

mainActivy.java:

package com.example.provincia;import android.os.Bundle;import android.app.Activity;import android.view.Menu;import android.webkit.WebSettings;import android.webkit.WebView;import android.webkit.WebViewClient;public class MainActivity extends Activity {	@Override	protected void onCreate(Bundle savedInstanceState) {		super.onCreate(savedInstanceState);		setContentView(R.layout.activity_main);				WebView myWebView = (WebView) findViewById(R.id.webview);		myWebView.loadUrl("http://www.mjksites.com.br/sites/webapp/index.php");						WebSettings webSettings = myWebView.getSettings();		webSettings.setJavaScriptEnabled(true);		myWebView.getSettings().setDomStorageEnabled(true); 				myWebView.setWebViewClient(new WebViewClient());	}	@Override	public boolean onCreateOptionsMenu(Menu menu) {		// Inflate the menu; this adds items to the action bar if it is present.		getMenuInflater().inflate(R.menu.main, menu);		return true;	}}

activtyMain.xml

<?xml version="1.0" encoding="utf-8"?><WebView  xmlns:android="http://schemas.android.com/apk/res/android"    android:id="@+id/webview"    android:layout_width="fill_parent"    android:layout_height="fill_parent"/>

logcat:

12-05 18:19:30.092: E/Zygote(32): setreuid() failed. errno: 212-05 18:19:45.793: E/Zygote(32): setreuid() failed. errno: 1712-05 18:19:47.603: E/BatteryService(58): usbOnlinePath not found12-05 18:19:47.603: E/BatteryService(58): batteryVoltagePath not found12-05 18:19:47.603: E/BatteryService(58): batteryTemperaturePath not found12-05 18:19:47.634: E/SurfaceFlinger(58): Couldn't open /sys/power/wait_for_fb_sleep or               /sys/power/wait_for_fb_wake12-05 18:20:01.732: E/EventHub(58): could not get driver version for /dev/input/mouse0,      Not a typewriter12-05 18:20:01.732: E/EventHub(58): could not get driver version for /dev/input/mice, Not a typewriter12-05 18:20:02.067: E/System(58): Failure starting core service12-05 18:20:02.067: E/System(58): java.lang.SecurityException12-05 18:20:02.067: E/System(58):   at android.os.BinderProxy.transact(Native Method)12-05 18:20:02.067: E/System(58):   at     android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)12-05 18:20:02.067: E/System(58):   at android.os.ServiceManager.addService(ServiceManager.java:72)12-05 18:20:02.067: E/System(58):   at     com.android.server.ServerThread.run(SystemServer.java:184)12-05 18:20:03.542: E/SoundPool(58): error loading /system/media/audio/ui/Effect_Tick.ogg12-05 18:20:03.573: E/SoundPool(58): error loading /system/media/audio/ui/KeypressStandard.ogg12-05 18:20:03.573: E/SoundPool(58): error loading /system/media/audio/ui/KeypressSpacebar.ogg12-05 18:20:03.573: E/SoundPool(58): error loading /system/media/audio/ui/KeypressDelete.ogg12-05 18:20:03.594: E/SoundPool(58): error loading /system/media/audio/ui/KeypressReturn.ogg12-05 18:20:07.282: E/ThrottleService(58): Could not open GPS configuration file /etc/gps.conf12-05 18:20:08.246: E/logwrapper(140): executing /system/bin/tc failed: No such file or directory12-05 18:20:08.342: E/logwrapper(142): executing /system/bin/tc failed: No such file or directory12-05 18:20:08.412: E/logwrapper(143): executing /system/bin/tc failed: No such file or directory12-05 18:20:26.059: E/HierarchicalStateMachine(58): TetherMaster - unhandledMessage: msg.what=3

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.