-
-
Notifications
You must be signed in to change notification settings - Fork 301
[Bug]: LogSender dependency cannot be found in React Native projects #1274
Comments
Sure, I'll look into it. |
@itsaky maybe add a fallback when logsender isn't enabled? because i tried to disable logsender in developer settings, it still trying to install logsender dependencies in the project |
With the above commit (42ac697), the log sender dependency won't be added if log sender is disabled in AndroidIDE's developers options. |
it's still trying to add logsender dependency, i have disabled logsender and also ide logs show the logsender.isEnabled to false, but somehow the build failed with the same error.
|
Check the build output, does it say |
no, here's the new build logs, it still the same but with logsender disabled in developer settings. i have try with clean task too, and also removing the build folder manually, still no progress. |
what happen if i remove manually the logsender plugin in here? |
I think this would fix the problem for you (but it's just a workaround). Currently, the init script is only used to add LogSender to the project. So, even if you edit the init script to not apply the plugins, the project initialisation would work just fine in the IDE (you won't be able to use LogSender though). Edit :
|
i would just comment that line instead of removing it, to be safe. Edit: |
in the new latest debug version, everytime syncing will regenerate init.gradle file, and now the build or sync always failed because cannot resolve the repository. edit:
that one caused the error in my project, i guess if this used, androidide cant add com.itsaky.androidide plugin, it has to be like this
|
@itsaky initscript.gradle
|
Fixed in 2775702. |
What happened?
react native project have their own gradle configuration, the configuration seems compatible with AndroidIDE, only error when build in the app because of logsender, build in terminal is working just fine.
here's the logs.
here's the project in case you want to see the configuration.
What's the expected behavior?
build success
What version of AndroidIDE you're using?
v2.5.2 (debug builds)
Relevant log output
Duplicate issues
Code of Conduct
The text was updated successfully, but these errors were encountered: