gradlew build not working in VSCode when I try to export my Minecraft mod - minecraft

So I finished my Minecraft mod and I tried to export it, so I typed ./gradlew build in Visual Studio's Terminal and it's not throwing errors or anything at me, it's just not working. Like, it literally doesn't do anything but go to the next line. I use a Mac, by the way

Okay, so if anyone has this same problem in VSCode, click the little elephant on the left side of the screen, then a bunch of folders will appear. Scroll through the folders until you find the folder named "build setup", open it. Next, find "wrapper" in the folder, hover your mouse over it, and then click the play button to make the wrapper. If you did this correctly, ./gradlew build(or .\gradlew build on Windows) should work!

Related

Why the command of python is not executed in the terminal

Hi Guys im trying to copy the code from the video even though i do everything as mentioned in the video but still error, can you please tell me where i made a mistake?this is how she made it.
Try using your terminal inside of vscode. Right click on the file you want to open and select "Open in integrated Terminal".

how to connect app to development server and makes it sensitive to changes?

I'm working on an app that was developed by someone else and referred to me for debugging. I downloaded the project from git and now when I install it on my android device using the react-native run-android command and change the codes and save it, nothing happens in the app and I have to reinstall using "react-native run-android" to see the changes. what should I do to see the changes online?
The solution was quite simple. The only thing I had to do was to shake the device and click on "enable hot reloading" in the opened menu.
Try to clean the Gradle and run again. and also check are you able to get developer menu by clicking ctrl/command + m.

Flutter Hot Reload not working in IntelliJ

new to flutter. created a new project using Intellij flutter plugin. Ran the app on an ios simulator using the play icon on the intellij, which runs the app in an IphoneX simulator. Made some cosmetic changes to the main.dart file but i) the hot reload, lightning, button is disabled ii) also code gets auto saved in intellij, so not sure what i need to do to test hot reload.
as a matter of fact, i have to delete the app from my iPhoneX simulator and rerun from IntelliJ to pick up the changes.
In case someone is facing the same problem, I solved it using the answer of XQDD in: https://github.com/flutter/flutter/issues/19151
which consists in updating adb version:
https://developer.android.com/studio/releases/platform-tools
Try to invalidate cache and restart Android Studio, as well as run the command to clean the flutter build.
Concrete instructions
In Android Studio, go to File --> Invalidate Caches/Restart --> Invalidate and Restart
After restart, run the command in the terminal: flutter clean
After that, your reload should be working again.
I tried all the usual workarounds. Clear cache, flutter clean, ect, however, none worked for me.
The only thing worked for me was to close the IntelliJ and delete .idea and build directories.
After opening the project it was working as expected.
Also make sure that hot reloading is enabled in the flutter settings:

IntelliJ IDEA Using External Tools/Macros to Execute "ionic run" Using a Keymap

I'm getting tired of opening and closing the terminal to run small things like ionic run that need to be executed fairly frequently early on in development.
I initially tried a macro, but they don't register double clicking ALT, and opening a new terminal, and eventually closing the terminal. It only registers typing cd mobile, and ionic run. So I found a post on External Tools, but I don't understand how to setup or use them even using the docs. Is there a way to simply:
Open a terminal
Type: cd mobile
Type: ionic run
Close the terminal
that I can keymap?
Or types into the terminal/executes a script file I can drop into a folder and keymap so the terminal doesn't have to open and close.

How to Allow quick development in Appcelerator Studio?

How do I re-enable the below behavior?
I USED to have the below behavior...now I don't. I have to re-compile the whole project for every change which is killing productivity for me.
I cut and pasted the below text from another question as it explains it much better than I can....
For an iphone simulator build, the .js files are run directly by the simulator without going through the compile step needed for a distribution build. While this saves some time by itself, the real advantage is that the simulator will dynamically use whatever changes you make to a .js file when you navigate to a window using an external .js reference (i.e. the url property). So changes to app.js still need to relaunch the project. But for windows opened later, you can navigate to the window to see how it looks or test code, then just hit the back button in the navigation bar, tweak the .js, and navigate back to the desired window and immediately see the new layout or test the code changes.
This makes tweaking UI layout stuff incredibly fast compared to the android emulator, not to mention code/debug cycles for some *.js logic is as quick as backing up a screen, revising the code, and showing the screen again. Then when you get the logic worked out, switch to android and retest.
If you have Appcelerator Studio (not Titanium Studio) you can enable LiveView, which attaches a filesystem service to your project and pipes file changes at runtime, bypassing the build process. (aka hotloader, etc)
A) Turn on in Studio
B) Use the command line:
ti build -p ios —-liveview
Be sure you have the latest updates from Appcelerator to ensure parity with target compilers.
$ sudo npm install -g appcelerator
$ appc use latest
$ appc setup
If you don't have Appcelerator Studio, you could try third party solutions such as TiShadow:
$ sudo npm install -g tishadow
$ ti build -p ios --shadow
$ tishadow server
$ tishadow # run --shadow
The quickest development feature you can use is LiveView. In Appcelerator Studio, before you run the project you have a little eye icon in the toolbar to enable live view. Then Every change you save to your project will automatically refresh the emulator/device on which you are running.
You can also have a look at a project called TiShadow which basically does the same and is not related to the Studio.