Vote count:
0
In my phonegap project build is failing and asking to import
import android.app.Activityimport android.webkit.WebView
import android.webkit.WebView
import org.json.JSONObject
import org.json.JSONException so on...
Where to find these file and how and where should i import this file please help...
Through command prompt I am building it in win7: Cmd : cordova create Hello com.hello.com Hello -> Cordova platform add android -> cordova build
Actual Error:
CordovaWebViewClient.java:26: error: package org.json does not exist import org.json.JSONException;
CordovaWebViewClient.java:27: error: package org.json does not exist import org.json.JSONObject;
CordovaWebViewClient.java:29: error: package android.annotation does not exist import android.annotation.TargetApi;
CordovaWebViewClient.java:30: error: package android.content.pm does not exist import android.content.pm.ApplicationInfo;
CordovaWebViewClient.java:31: error: package android.content.pm does not exist import android.content.pm.PackageManager;
CordovaWebViewClient.java:32: error: package android.content.pm.PackageManager does not exist import android.content.pm.PackageManager.NameNotFoundException;
CordovaWebViewClient.java:33: error: package android.graphics does not exist import android.graphics.Bitmap;
CordovaWebViewClient.java:34: error: package android.net.http does not exist import android.net.http.SslError;
CordovaWebViewClient.java:35: error: package android.view does not exist import android.view.View;
Phonegap cordova javac error
Aucun commentaire:
Enregistrer un commentaire