从源代码构建 ROM,但停留在一个点上。我已经理解了这个错误,但不知道究竟应该修复什么。ROM卡在启动时,我看到了
E/dalvikvm( 353): ERROR: couldn't find native method
E/dalvikvm( 353): Requested: Landroid/webkit/BrowserFrame;.nativeAddJavascriptInterface:(ILjava/lang/Object;Ljava/lang/String;)V
E/dalvikvm( 353): Candidate: Landroid/webkit/BrowserFrame;.nativeAddJavascriptInterface:(ILjava/lang/Object;Ljava/lang/String;Z)V
E/JNIHelp ( 353): RegisterNatives failed for 'android/webkit/BrowserFrame', aborting
从错误中,该方法中要求的是,(ILjava/lang/Object;Ljava/lang/String;)V
但提供的是(ILjava/lang/Object;Ljava/lang/String;Z)V
不同之处在于Z
谁能想到 BrowserFrame.java 中该方法的解决方案?或任何其他解决方法?