I download flutter in my download folder. Then I follow the each step which required to setup the flutter path in mac. But my problem is that when I close terminal each time it need to setup the path. I mean the path is not permanently set up. My Question is that-
Is there any problem if I keep the flutter into the downloads directory?
flutter setup guide literally says
This command sets your PATH variable for the current terminal window only.
Did you follow also this guide ?
Keeping flutter in downloads folder should not be problem. Better practise is to move it to USERNAME/Developer/flutter
Related
I'm getting this error when opening VS Code. Does anyone know what it means? I've done some research but didn't get any relevant information :(
I've tried creating a workflow to see if the error disappeared, but it didn't.
It seems that react native is asking for a workspace to start but is it asking that in the first place? Can I disable react native from running when opening VS Code?
The folder opened when the screenshot above was taken was the folder it opens by default, I believe it's the mac "home" personal folder, and I have a folder called "git" inside of it, with all projects.
Given the date of this posting (2023-02-07), you're probably on version 1.10.0 of the extension. This sounds like this bug report in the microsoft/vscode-react-native GitHub repo: [Bug] Extension activating when it shouldn't #1891.
A fix is coming in version 1.10.1.
But it is taking some time and has not been release yet at the time of this writing 2023-01-31:
we're facing some problems in the last release process, recently we're waiting for new publishing PAT access to republish 1.10.1 again, maybe it will publish on marketplace on next week. We have nightly version for extension in marketplace as well, maybe you can use it now.
For now, you can try installing the nightly version.
Also, note from the extension's readme documentation:
Before going any further make sure that you:
have a working React Native environment.
have the emulator utility available in your PATH if you're developing Android applications.
[...]
Got it, this annoying log came from React Native Tools extension. They specify the requirements in the docs:
In my case, I don't have a specific React Native environment or the emulator PATH is not right.
I created a mobile app by expo (react native), I would like to display profile image, knowing that the images are located outside my project.
when I want to access any image I do not get there, and I get this type of error
"SHA-1 for file (D:\Workspace\ImagesProfile\images3.jpg) is not computed".
this is the hierarchy of my workspace.
-Workspace
--ImagesProfile
--Myproject
Pleace how can we solve this problem?
The way the react-native packager works right now, it's just going to scan the roots of your project and below when creating the JavaScript bundle, so it will be really hard to do this.
You basically just need to put the files under the root of your directory. There are some tools out there for syncing files from another directory into a directory under the root so you could use one of those if you really need to.
Some people are working on ways to make symlinks work with this. Notably, you might look at Haul from Callstack. https://github.com/callstack-io/haul But that isn't integrated into Expo yet.
Okay at first you should understand what you are doing. You're creating a react native application, which means this application is running on external devices and not on your PC. Your simulator or expo client running your application encapsulated from your PC using only project files. When you wanna use external images in your application you need to host them. You can create a local docker instance as image server ( e.g. an express application with a static folder ).
To make it clear, it's not possible to use images inside your filesystem which are not a part of your react native application. You can use external image server like "imgbb" for test purposes, but it's not recommended to use them in your final version.
Happy Coding!
I saw one online video in that video he show package.json,system.config.json,tsconfig.json,typing.json files at one place. In that video he displays url https://angular.io/guide/quickstart .But when i searched that url there is not available coukd you please reffer me that url path
Install angular QuickStart. Click on this link Setup a local development environment and flow the steps of this article.
Hope so it will work successfully.
Thanks!
I am currently developing a desktop app in OS X which has a requirement for Autostart on Boot. I have implemented autostart and it works well when I install my app and put it in the Applications/ folder, but I can't expect users to move the file. I am distributing the app using HockeyApp.
So I've started building .pkg files with Packages. This works great and was really easy, but fails to update when used in HockeyApp. After downloading the update, I get a message saying An error occurred while trying to extract the archive. Please try again later. [Cancel Update]
Things I have tried:
Signing the update
Not signing the update
Downloading the most recent version instead of updating (works perfectly fine)
Zipping the .pkg (Fails to upload to HockeyApp)
How can I force my app into the user's Applications/ folder? Should I just ask my handful of (technologically challenged) beta testers to delete their app and download the new version? Can I make a change to my .pkg method to make it work? Should I add code into the app which moves itself (Sounds hacky and painful)?
You cannot force the user to install into /Applications, however if you get the app to arrange the auto-start itself (for example via the App Preferences) then it should use the current location of the app (probably obtained from [[NSBundle mainBundle] bundlePath]) and that will work fine.
You might want to periodically check if the app has moved after this has been turned-on.
I was wondering about to create a cydia tweak running on iphone startup and hooking some iphone feature as sms or call.
So I wanted to know where should I start:
How to write a cydia application (xCode? Toolchain? which toolchain? how to install it?)
Where can I found documentation about the hooking methods of the mobile substrate?
How can I star my application on iPhone startup?
I'd be glad if someone can link me THE VERY NOOB guide on how to start jb developpement (I juste develop "officially")
Thanks everybody
I know there are other ways of doing this, but if your a licensed iOS Developer you can simply sign the code in your App and put it on to one of your registered testing Devices that's jailbroken and follow the step by step instructions below:
Download iFile from the Cydia Store. I would suggest paying for it, but you can find other sources where you can get a cracked version. Then use iFile on the device and go into the following directory:
var/mobile/Applications/YourAppName
Select YourAppName.app folder
Tap the zip file button, (between + and trash buttons at bottom of display)
You will be prompted to name the zip file and hit create.
That's the zip file you submit to Cydia, you can email it to yourself from within iFile, or if you want use a program like DiskAid to pull it from your Device. DONE!
TESTING
To test you need to copy the .app file into the following directory:
var/stash/Applications
Exit iFile and Delete your app from the devise. Respring, Reboot, or Restart.
The icon will then be on your desktop.
HOPE THIS HELPS SOMEONE!!!
Note: This is against Apple policy, but if you don't tell I won't ;)