cordova-plugin-drawoverapps
cordova-plugin-drawoverapps copied to clipboard
Build failed after adding plugin
Hello, i get his error when i run cordova build android.
Although, the plugin actually never finishes installation, after running cordova plugin add ,
its says installing cordova-plugin-drawoverapps for android, and it stops there. but the plugin shows in my plugins folder.
anyway, this is the error i get when i build android
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Android resource linking failed
C:\Users\user\donald\platforms\android\app\src\main\res\layout\service_over_apps_head.xml:7: AAPT: error: attribute riv_border_color (aka com.numbersaver.com:riv_border_color) not found.
C:\Users\user\donald\platforms\android\app\src\main\res\layout\service_over_apps_head.xml:7: AAPT: error: attribute riv_border_width (aka com.numbersaver.com:riv_border_width) not found.
C:\Users\user\donald\platforms\android\app\src\main\res\layout\service_over_apps_head.xml:7: AAPT: error: attribute riv_corner_radius (aka com.numbersaver.com:riv_corner_radius) not found.
error: failed linking file resources.
some error occurred while install for the roundedimageview dependency, try reinstall the plugin and check for it’s dependance with gradle file and it’s version
Hello, thanks for replying me @ahmedwahba , like i said, the installation never completes.
its justs stops here Installing "cordova-plugin-drawoverapps" for android but the plugin will be in my plugins folder. should i wait for it? is it supposed to take long
it may takes time in your case as it tries to load this dependency
Hello @ahmedwahba , been trying to install the plugin for hours now. still stuck there when i remove this below from the service _over_apps_head.xml, the build is successful, so i want to ask, is this really important for the plugin to work?
app:riv_border_color="@android:color/white"
app:riv_border_width="1dp"
app:riv_corner_radius="30dp"
Hello @ahmedwahba , been trying to install the plugin for hours now. still stuck there when i remove this below from the service _over_apps_head.xml, the build is successful, so i want to ask, is this really important for the plugin to work?
app:riv_border_color="@android:color/white" app:riv_border_width="1dp" app:riv_corner_radius="30dp"
all these attributes is related to the RoundedImageView inside this package itself to draw your floating head UI, then it only affects UI you can edit native java code and change the whole package
hi ahmed its seems your plugin doesnt work anymore. android 4.0.0 gradle 6.1.1
Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id 'com.android.internal.application']
did you guys solve this problem?
Also facing the same problem