Open
Description
If I install the searchbar plugin, my builds begin to fail because searchbar tries to pull in a bunch of java libs that aren't installed, e.g. org.nm.finddoctor.R
. I've searched around some, but haven't found where to get these packages. Could you please update the README with instructions? Very excited to try this plugin!
Here's the complete output:
BUILD FAILED
Total time: 6.664 secs
Error: /Users/me/Project/cordova/platforms/android/gradlew: Command failed with exit code 1 Error output:
/Users/me/Project/cordova/platforms/android/src/net/spantree/searchbar/SearchBar.java:21: error: package org.nm.finddoctor does not exist
import org.nm.finddoctor.R;
^
/Users/me/Project/cordova/platforms/android/src/net/spantree/searchbar/SearchBar.java:70: error: package R does not exist
l.setAnimator(LayoutTransition.APPEARING, AnimatorInflater.loadAnimator(cordova.getActivity(), R.animator.slide_in));
^
/Users/me/Project/cordova/platforms/android/src/net/spantree/searchbar/SearchBar.java:71: error: package R does not exist
l.setAnimator(LayoutTransition.DISAPPEARING, AnimatorInflater.loadAnimator(cordova.getActivity(), R.animator.slide_out));
^
/Users/me/Project/cordova/platforms/android/src/net/spantree/searchbar/SearchBar.java:72: error: cannot find symbol
webView.setLayoutTransition(l);
^
symbol: method setLayoutTransition(LayoutTransition)
location: variable webView of type CordovaWebView
/Users/me/Project/cordova/platforms/android/src/net/spantree/searchbar/SearchBar.java:89: error: cannot find symbol
((ViewGroup) webView.getParent()).addView(view, 0, params);
^
symbol: method getParent()
location: variable webView of type CordovaWebView
/Users/me/Project/cordova/platforms/android/src/net/spantree/searchbar/SearchBar.java:97: error: cannot find symbol
webView.addView(view, params);
^
symbol: method addView(View,LayoutParams)
location: variable webView of type CordovaWebView
/Users/me/Project/cordova/platforms/android/src/net/spantree/searchbar/SearchBar.java:124: error: cannot find symbol
webView.removeView(searchView);
^
symbol: method removeView(SearchView)
location: variable webView of type CordovaWebView
/Users/me/Project/cordova/platforms/android/src/net/spantree/searchbar/SearchBar.java:133: error: cannot find symbol
webView.requestFocus();
^
symbol: method requestFocus()
location: variable webView of type CordovaWebView
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
8 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileArmv7DebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Metadata
Metadata
Assignees
Labels
No labels