ow to fix: Could not compile build file (gradle) in Dolphin Android studio error - android-gradle-plugin

Good day to you. I am new to programming and have a desire to learn. I recently downloaded Dolphin Android studio and i am struggling to get the gradle to sync successfully. i have attached pictures to show my problem. I would appreciate a step by step solution. i have tried to search for solutions but unfortunately all i find is solutions not for the Android Dolphin studio.Picture 1
i tried downloading Gradle 7.6 and it could not sync and when i see the gradle library file in my Android Studio Folder its 7.4 version and i do not know how to make them the same. I copied build scripts from one stack overflow solution which is the one you see in the picture provided and when i try to sync it keeps on saying 'could not compile buld file.'
Thank you for helping me, much appreciated.

Related

IntelliJ IDEA Reopen Project "The path <insert temp path here> does not exist" error

Here's a fun one. I did search for this issue but didn't seem to find anything that helped, including the following questions which seemed most closely related:
Why am I getting "Local path does not exist" from my Android project in IntelliJ IDEA?
IntelliJ IDEA: Project SDK Settings is not retained after reopenning IDE
Version info:
MacBook Pro mid-2014 (Intel), Big Sur 11.2.1
IntelliJ IDEA 2021.2.2 (Community Edition)
Build #IC-212.5284.40, built on September 13, 2021
Runtime version: 11.0.12+7-b1504.28 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.2.1
Kotlin: 212-1.5.10-release-IJ5284.40
Issue description: On opening an existing project, importing the related module, and selecting the SDK, everything works fine. However, the recent projects list shows what appears to be a random, temporary path to the project IML:
The path you see in the screenshot is not the path that leads to the IML. Not even by a long shot. This is created when opening the project initially but, on exiting IDEA, it seemingly disappears and I have to reimport the project all over again. I am stumped here. I spent a couple of days digging through SO, and the internet in general but can't seem to find anything related to this specific error or anything that has helped at all. Any input would be great. This is on a fresh installation of IDEA, and I have cleared the caches with no observable effect.
Try to close the project and the IDE, open the project root directory in the OS file explorer, delete all.iml files and the .idea directory, and reimport the project from existing sources
You can try "open" button on the IDE welcome page, I made it.

LWIP library files not building on Atmel 7.0 when setting NO_SYS=1

I've got a strange question that I can't seem to find any answers for. I'm building a quite simple application for sending/receving data from/to a PCB, and the application itself builds, but when I exited Atmel Studio (Version 7.0) and reopened the project, the library files no longer built. At least that's what I think happened. I didn't change any code between building the project before and after restart of the program. It has happened before, and that time I solved it by creating the project from scratch, but I'd really like that not to be the only solution. I've also tried restarting the program again, as well as the computer. I also removed and re-added the library.
Has anyone encountered the same issue? If so, any help in the right direction would be greatly appreciated. Information on my system and error messages below:
I'm building for the ATSAMV71N21B board, with Atmel Studio 7.0. I've imported the lwip library trough the ASF wizard, and these files built before the program restart.
These are the files that won't build:
The 122 build errors mainly consists of "expected expression before 'struct'" and undeclared functions and variables, even though these clearly are defined in the various files in the library.
It ended up being because of my NO_SYS setting being 1. When I switched it to 0, everything built, (except for sys_check_timeouts(), but I think I'll find another answer for this). Keeping this here for reference if anyone needs it one day.

Build ti.barcode failed

This is my first time to build Titanium module. What I am building is the ti.barcode for Android. I grasp the source code from Github and import to Titanium studio. Some build path error is easily corrected by opening build path and just close. There is no error shown on the project.
But when I tried to package it, I always get error message:
Launching build and packaging failed
Build failed. Unable to locate generated zip file at /Users/ymlan/Code/ti.barcode-android-2.3.5/dist/ti.barcode-android-2.3.5.zip
I use JDK 1.8 , SDK 5.2.2GA , it seems to be some configuration error, but I can not figure it out after hours of googling. Since I request your keens help here.
Thanks in advance for your help.
Cliff
Maybe it's related to https://jira.appcelerator.org/browse/AC-3806.
It gives me the same error with a new module too.
I had a similar issue. After two days of hell, I have found the cause of my problem! In my workspace root there was an old tiapp.xml (I do not know how it got there...). After removing it, I managed to make the build of the modules, both from Appcelerator Studio that from the CLI.
Try to see if you also have a tiapp.xml or timodule.xml file in the root of the workspace.
Maybe this one might help you
https://github.com/acktie/Acktie-Mobile-Android-Barcode
Or is it definitely required to use Ti.barcode ?

Getting started with wxWidgets and CLion?

Can anyone suggest a tutorial or getting started guide to CLion and wxWdgets? I have searched around but am unable to find anything.
Well,
you should download WxWidgets here http://www.wxwidgets.org/downloads/.
Then, you should compile and install to your system.
Download and install CLion.
Create new Project.
Then, follow to this edit your CMakeLists.txt Building wxWidgets 3.1.0 on CLion (Ubuntu)
Then try Hello World sample http://docs.wxwidgets.org/trunk/overview_helloworld.html.
If everything okay, start to develop great apps!

"classes.dex not found. Try to rebuild project" in Android Studio

I'm unable to build Android project using Android Studio 0.1.3. Everything worked fine until latest SVN update of the project. This is strange, because no settings were changed (SDK, dependencies etc.). I also didn't update any tools. I keep getting the error:
Android Packager: [trunk] File /home/matis/.AndroidStudioPreview/system/compile-server/apilot_f8e91252/android/intermediate_artifacts/trunk/classes.dex not found. Try to rebuild project
There are no errors in source code, I can build and deploy it on a device without problems using Eclipse. I'm using SDK rev. 17 with SDK Tools rev. 22.
I tried to build source from earlier SVN revision, but the same thing happens.
Has anyone else experienced similar problem? How can I solve it?
Update
After some investigation I found out that dx tool doesn't get called at all (I modified its script so it would create some file if run), but aapt is called properly.