Chromium WebView does not exist

774 views
Skip to first unread message

Bahadır Hatunoğlu

unread,
Jul 30, 2014, 5:18:51 AM7/30/14
to phon...@googlegroups.com
Hello, 
I am trying to create a Hello World app using Phonegap but it crashes when I call run the application on emulator. Here is what I have on MainActivity.java :


import android.os.Bundle;
import org.apache.cordova.*;

public class HelloWorld extends CordovaActivity 
{
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        super.init();
        // Set by <content src="index.html" /> in config.xml
        super.loadUrl(Config.getStartUrl());
        //super.loadUrl("file:///android_asset/www/index.html");
    }
}

Here is the first errors I get :

  1. Chromium WebView does not exist
  2. FATAL EXCEPTION: main
  3. java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.deneme/com.example.deneme.MainActivity}: java.lang.UnsupportedOperationException

Can you tell me what is wrong with the application? Thanks.

Xiao Lin

unread,
Aug 6, 2014, 10:51:10 AM8/6/14
to phon...@googlegroups.com
What is your environment? Windows/Linux/Mac? Version? Do you have Android Studio installed with the proper libraries?

Kerri Shotts

unread,
Aug 10, 2014, 4:09:01 PM8/10/14
to phon...@googlegroups.com
Make sure you aren't deploying to an Android Wear emulator. Open AVD and check your CPU/ABI setting to make sure this isn't the case. 

Of course, Android Wear doesn't support Chromium, hence the error.
Reply all
Reply to author
Forward
0 new messages