AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

HTML5 Builder Probleme

Ein Thema von delphinia · begonnen am 25. Okt 2012 · letzter Beitrag vom 28. Dez 2012
Antwort Antwort
delphinia

Registriert seit: 16. Feb 2006
444 Beiträge
 
Delphi 11 Alexandria
 
#1

HTML5 Builder Probleme

  Alt 25. Okt 2012, 14:24
Habe ein Komplett neues Projekt erstellt nach der Installation von HTML5 Builder und wollte das dann auf einem Emulierten Android Gerät ausgeben.....

Geht nicht....

Code:
    [javac] Compiling 4 source files to DD:\Wntwicklung\android\bin\classes
    [javac] D:\Wntwicklung\android\src\org\apache\cordova\CordovaWebViewClientPatched.java:8: error: cannot find symbol
    [javac]   import android.webkit.WebResourceResponse;
    [javac]                        ^
    [javac]  symbol:  class WebResourceResponse
    [javac]  location: package android.webkit
    [javac] D:\Wntwicklung\android\src\org\apache\cordova\CordovaWebViewClientPatched.java:21: error: cannot find symbol
    [javac]    public WebResourceResponse shouldInterceptRequest(WebView view, String url) {
    [javac]           ^
    [javac]  location: class CordovaWebViewClientPatched
    [javac] D:\Wntwicklung\android\src\org\apache\cordova\CordovaWebViewClientPatched.java:29: error: cannot find symbol
    [javac]    private WebResourceResponse generateWebResourceResponse(String url) {
    [javac]            ^
    [javac] D:\Wntwicklung\android\src\org\apache\cordova\CordovaWebViewClientPatched.java:25: error: cannot find symbol
    [javac]            return super.shouldInterceptRequest(view, url);
    [javac]  symbol: method shouldInterceptRequest(WebView,String)
    [javac] D:\Wntwicklung\android\src\org\apache\cordova\CordovaWebViewClientPatched.java:47: error: cannot find symbol
    [javac]                WebResourceResponse response = new WebResourceResponse(mimetype, "UTF-8", stream);
    [javac]                ^
    [javac]                                                   ^
    [javac] 6 errors
BUILD FAILED
D:\Entwicklung\eclipse\android-sdk\tools\ant\build.xml:679: The following error occurred while
D:\Entwicklung\eclipse\android-sdk\tools\ant\build.xml:679: The following error occurred while executing this line:
D:\Entwicklung\eclipse\android-sdk\tools\ant\build.xml:692: Compile failed; see the compiler error output for details.
Doreen
Gruss Doreen
  Mit Zitat antworten Zitat
mjustin

Registriert seit: 14. Apr 2008
3.004 Beiträge
 
Delphi 2009 Professional
 
#2

AW: HTML5 Builder Probleme

  Alt 25. Okt 2012, 17:12
Die Klasse WebResourceResponse ist erst ab Android API Level 11 (Android 3 / Honeycomb) in Android enthalten:

http://developer.android.com/referen...eResponse.html

Kann es sein, dass im HTML5 Builder Projekt eine niedrigere Zielplattform eingestellt ist? Zum Beispiel wenn ich eine Android App für Android 2.1 (Eclair MR1) entwickle, ist dies Plattform Level 7, und darin ist diese Klasse noch nicht verfügbar. I(ch kenne HTML5 Builder aber leider nicht.
Michael Justin
  Mit Zitat antworten Zitat
ueding

Registriert seit: 21. Aug 2005
30 Beiträge
 
Delphi 10.4 Sydney
 
#3

AW: HTML5 Builder Probleme

  Alt 28. Dez 2012, 10:28
Hallo
ich habe das gleiche Problem.
Wenn du das Problem gelöst hast, würdest du es auch der Allgemeinheit verraten ?

Danke schon mal
und guten Rutsch.

Gregor
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 15:01 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz