ERROR CDVLaunchScreen.storyboard IONIC V1 ON MAC - ionic-framework

I am having the following error
when running:
ionic cordova build ios
Could anyone tell me how can I solve it? On android I had no compilation problems

The error is
Named Colors are not supported prior to iOS 11
Locate your-app-name.xcodeproj
Open this file in Xcode
Click on the folder icon on top of the file drawer side panel in Xcode
Scroll down and you will notice Resources in red color text
Open CDVLaunchScreen.storyboard
Choose a Background color and Tint from right pane and File -> save
Press the Play button to build from Xcode
Other option
In config.xml of your Cordova project:
<preference name="deployment-target" value="12.0" />

Related

I can't click main.dart key and can't run

I open it my project but I can't run it.. I didn't do anything. How can I resolve this problem???enter image description here
Click on the drop down icon on side of "main.dart" with flutter icon error and go to "Edit Configurations...", see if shows any error name or code. If there is an error or a code, send it here, maybe this will help more
click on File >> click on Settings >> search by sdk >> click on Dart(inside Languages & Frameworks) >> check Enable Dart support for the project >> select Dart SDK path >> check Enable Dart support for the following modules >> click on Apply
You should see the image If you have any confusion.
Then I think you get your solution.
The solution to this warning 'Entrypoint is not a dart file' after saving work done is by following this.
Go To File in Android Studio
Menu at the top Manage
IDE Settings Restore Default Settings
Restart the App
Download necessary Plugins back to your App and you can continue using it

Flutter- .dart_tool and build file are red

I am new in android studio and i dont know is it normal. flutter and dart plugins installed
enter image description here
enter image description here
.dart_tool and build are red I haven't done anything on the file I opened yet.
After you run the project, those red folders will be created automatically. There is no problem, continue to coding...

Cannot preview in this file - SwiftUI Testing.app may have crashed

I got this error after launching Xcode 11 beta with a newly upgrade OS whenever I tried previewing (Resume button). Preview not working.
Solution was to make sure Command Line Tools were set to Xcode 11 in
Preferences -> Locations -> Command Line Tools

How to move flutter bin file

I was working with flutter and for some reason the bat file was removed. Now flutter as been moved into another directory. How do I move it back, as my android studio project wont run and delete the unused files. Tried to earlier but it wont delete the bin file.
Pic 1 - Old flutter path
Pic 2 - Where bat file used to be
Pic 3 - New bat file location
Pic 4 - Flutter doc error
You can relocate the flutter SDK path in Android studio.
For Windows
Go to File-> Settings -> Under languages & framework section choose flutter
For MAC
Click on Android Studio-> Preferences -> Under languages & framework section choose flutter
You will now see an option for flutter SDK path. From here you can relocate your SDK path.
Try restarting Android studio if that doesn't solve your problem immediately.

Layout preview not working in Android Studio

I ported an android project from Eclipse to Android Studio. The project builds just fine. However I am not able to see any layout preview. When I go to the Design tab of a layout I get a
Loading Configuration...
message that never goes away (see image).
I have set correctly the Android SDK in the project structure.
This happens with all the xml files and I am not able to open the "Preview" window from
View -> Tool Windows -> Preview
I tried creating a new project and everything was showing fine. Am I missing something? Anyone faced a similar issue? Is there a chance that this is happening because the folder structure is not the default one? (The layouts are not under project/src/main/res/layout but under project/res/layout)
Try this
Build> Clean Project
Build> Rebuild Project
It worked for me
Just do a right click on the layout preview and click on
Show Included in contentmain.xml
you can see it in the following image
I had the same problem and I solved as follow
Update all build.gradle files with:
classpath 'com.android.tools.build:gradle:0.5.+'
Now android studio 0.2.+ uses gradle 0.5
Closes de IDE and via Terminal/Console
Do a clean: $gradle clean
Do a build: $gradle build
Assemble it: $gradle assembleDebug
Open the Android Studio and be happy ;)
Close android studio and go to path as follow:
C:\Users\user\ .AndroidStudio1.2\restart
There is a file named restarter,double click on it and open android studio again,create a new project and enjoy it
Maybe it is better to use the 0.3.6 version (latest), with this version of gradle : com.android.tools.build:gradle:0.6.+
Bear in mind that Android Studio will be expecting the Android SDK already installed (as I suppose you have), and also the environment variables ANDROID_HOME and GRADLE_HOME.
Try updating your API to the latest version in the SDK manager ---- worked for me
I had the same problem Follow this step :
First uninstall old android studio and delete .androidstudio file from C:\Users\yourpcname
update api to latest version in SDK manager.
Install Latest Android Studio Canary Build: 2.0 Preview 9
Done
In Android Studio
File>Invalidate Caches/Restart
that's how i fixed
You can try :
Select Preview window(Focus on it)
Unselect Floating mode and Pinned mode
goto Window -> Active Tool Window ->
Unselect Floating mode and Pinned mode
Now you can see Docked window option here(Window -> Active Tool Window ->)
Select Docked Window