Comments (14)
Hey all, I did a little research and learned that you must have "Android Support Repository" and "Google Repository" installed to use appcompat. This allows me to compile it (using Build Tools 27.0.2)!
@yonkoGH does this solve your build problem also?
Now I've run into another issue: co is not defined.
from nativescript-advanced-webview.
There are several reports of this same issue on the NativeScript Forum. The most recent from 5 days ago.
https://discourse.nativescript.org/t/execution-failed-for-task-app-processdebugresources/5576
from nativescript-advanced-webview.
same !
from nativescript-advanced-webview.
Can someone confirm if this happens when you add ONLY this plugin as a dependency? That would help narrow down if it's the plugin, which I don't think is the case as I had the demo working 2-3 weeks ago (of course google/android changes often so the build tools could be the issue). If someone can report that we'll know if the issue is here or in the android build tools when adding this plugin in a combination of other libraries.
from nativescript-advanced-webview.
Hi Brad
When i remove the plugin from the project dependencies the android application runs just fine .also couldn't run your demo app on my machine.
I have android SDK build tools 27.0.1 installed on my mac machine
thank you for your help .
from nativescript-advanced-webview.
Yes, this only happens on Android once this plugin is added.
The demo also does not compile.
I have tried Android SDK Build-tools 27.0.1 and 27.0.2.
from nativescript-advanced-webview.
Demo builds fine for me - If you currently fork/clone and run cd src && npm run demo.android
it fails? If so then this is some android build issue and not necessarily with the plugin itself I believe, but rather you have this plugin and others conflicting with google/android libs (support library for example). I'm adding a Demo
section to the readme to make that step more clear to run the demo.
from nativescript-advanced-webview.
I did what you told us and same thing happened > android build failed
from nativescript-advanced-webview.
I'm fairly confident this is an android build tools issue. What version of the android build tools do you have installed?
from nativescript-advanced-webview.
27.0.2
from nativescript-advanced-webview.
@bradmartin What version of Build Tools are you using?
from nativescript-advanced-webview.
@yonkoGH - so it looks like 27.0.3 is a valid build-tools version to try bumping for you. I have all the latest installed it looks like from the sdk manager image here ^
from nativescript-advanced-webview.
@chrishaff Works for me now tnx (android-27 SDK was missing )
but not as expected see:
@bradmartin does it need "google chrome" to work just like the demo .
from nativescript-advanced-webview.
yea if you want ChromeCustomTabs
Chrome will need to be on device. If not it falls back to the stock webview on the device. That should be the behavior 👍 - the android Twitter app uses this same behavior if you want to see it in action. I believe there's even a toggle switch to disable chrome inside twitter app for android, unless it has been removed in the past few months.
from nativescript-advanced-webview.
Related Issues (20)
- Execution failed for task ':app:processDebugResources' HOT 7
- Fatal Crash on Android running NativeScript 4 HOT 1
- Not working on android HOT 4
- The app is not built since I installed the plugin HOT 3
- pass data via URL HOT 4
- Android: co.fitcom.fancywebview.AdvancedWebViewListener is not defined HOT 1
- 'error' [TypeError: null is not an object (evaluating 'app.keyWindow')] HOT 3
- Does not Work when app is Released
- How to hide toolbar HOT 1
- How to get current URL or HTML? HOT 1
- android.content.ActivityNotFoundException: No Activity found to handle Intent HOT 1
- object dump on init (nativescript angular)
- nativescript-advanced-webview not compatible with latest NativeScript 6 HOT 21
- Error: java.lang.NoSuchMethodError: no static method "Landroid/view/View;.setPadding(IIII)V" HOT 5
- WebPage Not Available Issue
- Changed the links to Nativescript Core Packages to work with NS-8
- Not loading on iOS 15 HOT 7
- Does not work with Angular on iOS HOT 3
- Angular - IOS platform missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-advanced-webview.