cordova-android-chromeview icon indicating copy to clipboard operation
cordova-android-chromeview copied to clipboard

main.xml: us.costan.chrome.ChromeView

Open yoyeung opened this issue 11 years ago • 9 comments

java.lang.ClassNotFoundException: us.costan.chrome.ChromeView at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source)

yoyeung avatar Nov 04 '13 08:11 yoyeung

ChromeView is not included in this project, please follow the build instructions for it, and include it in your project:

https://github.com/thedracle/cordova-android-chromeview/issues/1

thedracle avatar Nov 04 '13 14:11 thedracle

i included the .jar file into the libs folder. I am using Eclipse to build the project. When open main.xml in eclipse, i will have this error message for me.

I have no idea. I change the java version from 1.7 to 1.6 and update the android sdk. There are no any changes.

error screen2

yoyeung avatar Nov 05 '13 01:11 yoyeung

Have you called ChromeView's initialize in your Application class's onCreate?

See: https://github.com/pwnall/chromeview Initialize Chromium

import us.costan.chrome.ChromeView; import android.app.Application;

public class MyApplication extends Application { @Override public void onCreate() { super.onCreate(); ChromeView.initialize(this); } } Now you can use ChromeView in the same contexts as you would use WebView.

thedracle avatar Nov 05 '13 20:11 thedracle

Great!!! I create a new project to setup your chromeview. It's fine. I found out this error when i using the test project which include in the project . I think there have some setting issue in this project. By the way thanks for your help.

yoyeung avatar Nov 06 '13 04:11 yoyeung

@yoyeung Hi, could you upload your final code for us others to try it out? I have yet to get it working :/

ariselseng avatar Nov 06 '13 12:11 ariselseng

@cowai i am working on work with chromeview directly. But i will try to create a project to directly work with cordova-android-chromeview Can you show us what error message you got?

yoyeung avatar Nov 06 '13 13:11 yoyeung

Hi @yoyeung and @cowai, I will appreciate the help guys, I try to make this work and i can't, here I write all the steps that I make and the error message, here If I or we make this work, I will leave tutorial

josedefreitasc avatar Nov 06 '13 15:11 josedefreitasc

@josedefreitasc, i have follow your step to work on project but i got a different issue. I want to find the stable version and work on it. Unlucky i cannot find it. I am using 10.9, android update sdk with ndk.

yoyeung avatar Nov 07 '13 02:11 yoyeung

Hi,

I am getting the below image error while importing chromview:

error

I followed the steps but still. I am unable to rectify this one...

vipulanurag avatar Aug 11 '14 17:08 vipulanurag