Buildroot configure image with external linaro toolchian - buildroot

I have problem with buildroot external toolchain;
finally I have received the following error when I put the "make linux-menuconfig" command (I want to use this config menu for eth driver)
ubuntu#upc:~/buildroot-2021.02.5$ make linux-menuconfig
BR_BINARIES_DIR=/home/ubuntu/buildroot-2021.02.5/output/images PKG_CONFIG_PATH="" /usr/bin/make -j9 -C /home/ubuntu/buildroot-2021.02.5/output/build/linux-5.10.9 HOSTCC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc -O2 -I/home/ubuntu/buildroot-2021.02.5/output/host/include -L/home/ubuntu/buildroot-2021.02.5/output/host/lib -Wl,-rpath,/home/ubuntu/buildroot-2021.02.5/output/host/lib" ARCH=arm INSTALL_MOD_PATH=/home/ubuntu/buildroot-2021.02.5/output/target CROSS_COMPILE="/home/ubuntu/buildroot-2021.02.5/output/host/bin/arm-linux-gnueabihf-" DEPMOD=/home/ubuntu/buildroot-2021.02.5/output/host/sbin/depmod INSTALL_MOD_STRIP=1 HOSTCC="/usr/bin/gcc" menuconfig
scripts/Kconfig.include:39: compiler '/home/ubuntu/buildroot-2021.02.5/output/host/bin/arm-linux-gnueabihf-gcc' not found
scripts/kconfig/Makefile:29: recipe for target 'menuconfig' failed
make[3]: *** [menuconfig] Error 1
Makefile:602: recipe for target 'menuconfig' failed
make[2]: *** [menuconfig] Error 2
linux/linux.mk:575: recipe for target '/home/ubuntu/buildroot-2021.02.5/output/build/linux-5.10.9/.kconfig_editor_menuconfig' failed
make[1]: *** [/home/ubuntu/buildroot-2021.02.5/output/build/linux-5.10.9/.kconfig_editor_menuconfig] Error 2
Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2
before this command I have done "make" successfully and the toolchain configuration is like that:
Toolchain type (External toolchain) ---> │ │
│ │ *** Toolchain External Options *** │ │
│ │ Toolchain (Custom toolchain) ---> │ │
│ │ Toolchain origin (Pre-installed toolchain) ---> │ │
│ │ (gcc-linaro) Toolchain path │ │
│ │ (arm-linux-gnueabihf) Toolchain prefix │ │
│ │ External toolchain gcc version (7.x) ---> │ │
│ │ External toolchain kernel headers series (4.10.x) ---> │ │
│ │ External toolchain C library (glibc/eglibc) ---> │ │
│ │ [*] Toolchain has SSP support? │ │
│ │ [*] Toolchain has SSP strong support? │ │
│ │ [*] Toolchain has RPC support? │ │
│ │ [*] Toolchain has C++ support? │ │
│ │ [ ] Toolchain has D support? │ │
│ │ [ ] Toolchain has Fortran support? │ │
│ │ [ ] Toolchain has OpenMP support? │ │
│ │ [ ] Copy gdb server to the Target │ │
│ │ *** Host GDB Options *** │ │
│ │ [ ] Build cross gdb for the host │ │
│ │ *** Toolchain Generic Options *** │ │
│ │ [ ] Copy gconv libraries │ │
│ │ () Extra toolchain libraries to be copied to target │ │
│ │ [*] Enable MMU support │ │
│ │ () Target Optimizations │ │
│ │ () Target linker options │ │
│ │
[ ] Register toolchain within Eclipse Buildroot plug-in
When I checked the arm-linux-gnueabihf, I have received the following output, I have installed linaro gnueabihf toolchain and saved it as "gcc-linaro"
ubuntu#upc:~/buildroot-2021.02.5$ find . -name *linux-gnueabi*
./gcc-linaro/bin/arm-linux-gnueabihf-ranlib
./gcc-linaro/bin/arm-linux-gnueabihf-gcc-ar
./gcc-linaro/bin/arm-linux-gnueabihf-gcc
./gcc-linaro/bin/arm-linux-gnueabihf-gcov-tool
./gcc-linaro/bin/arm-linux-gnueabihf-objcopy
./gcc-linaro/bin/arm-linux-gnueabihf-c++
./gcc-linaro/bin/arm-linux-gnueabihf-gfortran
./gcc-linaro/bin/arm-linux-gnueabihf-c++filt
./gcc-linaro/bin/arm-linux-gnueabihf-strip
./gcc-linaro/bin/arm-linux-gnueabihf-g++
./gcc-linaro/bin/arm-linux-gnueabihf-gcov-dump
./gcc-linaro/bin/arm-linux-gnueabihf-gcc-7.5.0
./gcc-linaro/bin/arm-linux-gnueabihf-ld
./gcc-linaro/bin/arm-linux-gnueabihf-gcc-nm
./gcc-linaro/bin/arm-linux-gnueabihf-ld.gold
./gcc-linaro/bin/arm-linux-gnueabihf-gcov
./gcc-linaro/bin/arm-linux-gnueabihf-size
./gcc-linaro/bin/arm-linux-gnueabihf-ar
./gcc-linaro/bin/arm-linux-gnueabihf-addr2line
./gcc-linaro/bin/arm-linux-gnueabihf-cpp
./gcc-linaro/bin/arm-linux-gnueabihf-readelf
./gcc-linaro/bin/arm-linux-gnueabihf-as
./gcc-linaro/bin/arm-linux-gnueabihf-gprof
./gcc-linaro/bin/arm-linux-gnueabihf-gcc-ranlib
./gcc-linaro/bin/arm-linux-gnueabihf-nm
./gcc-linaro/bin/arm-linux-gnueabihf-gdb-add-index
./gcc-linaro/bin/arm-linux-gnueabihf-strings
./gcc-linaro/bin/arm-linux-gnueabihf-elfedit
./gcc-linaro/bin/arm-linux-gnueabihf-gdb
./gcc-linaro/bin/arm-linux-gnueabihf-objdump
./gcc-linaro/bin/arm-linux-gnueabihf-ld.bfd
./gcc-linaro/bin/arm-linux-gnueabihf-dwp
./gcc-linaro/share/man/man5/arm-linux-gnueabihf-gdbinit.5
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-readelf.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-strip.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-gprof.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-cpp.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-gdb.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-dlltool.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-objcopy.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-addr2line.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-gfortran.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-gcov-dump.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-gcov-tool.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-as.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-nm.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-strings.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-gcc.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-nlmconv.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-ranlib.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-windres.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-ar.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-c++filt.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-gdbserver.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-g++.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-objdump.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-gdb-add-index.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-size.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-gcov.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-ld.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-elfedit.1
./gcc-linaro/share/man/man1/arm-linux-gnueabihf-windmc.1
./gcc-linaro/lib/gcc/arm-linux-gnueabihf
./gcc-linaro/libexec/gcc/arm-linux-gnueabihf
./gcc-linaro/arm-linux-gnueabihf
./gcc-linaro/arm-linux-gnueabihf/include/c++/7.5.0/arm-linux-gnueabihf
./output/host/arm-buildroot-linux-gnueabihf
./output/host/bin/arm-linux-gnueabihf-*
./output/build/libwebsockets-4.0.21/contrib/cross-arm-linux-gnueabihf.cmake
Could you guide me at that point ?
I want to add eth interface to images and arm-linux-gnueabihf external toolchain,
my host pc is ubuntu 18
the buildroot version is buildroot-2021.02.5
linaro version is gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf.tar.xz
Thank you!

│ │ Toolchain (Custom toolchain) --->
│ │ Toolchain origin (Pre-installed toolchain) --->
│ (gcc-linaro) Toolchain path
...
For the Toolchain path you need to specify a full, absolute path, and not just the name of a directory.
I have installed linaro gnueabihf toolchain and saved it as "gcc-linaro"
You seem to have installed this Linaro toolchain under your Buildroot directory.
Since this is supposed to be an external toolchain (i.e. external to Buildroot), that really does not make sense.
For instance I install such toolchains at /opt/linaro/
x:/opt$ la -1 linaro
gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabi
gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabi
gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabi
gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf
x:/opt$
Also verify that all required packages are installed for your host system; study docs/manual/prerequisite.txt or https://buildroot.org/downloads/manual/manual.html#requirement

Related

* What went wrong: Execution failed for task ':app:processDebugMainManifest'. > Manifest merger failed with multiple errors, see logs

FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
Manifest merger failed with multiple errors, see logs
Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 16s
┌─ Flutter Fix ─────────────────────────────────────────────────────────────────────────────────┐
│ The plugin tflite requires a higher Android SDK version. │
│ Fix this issue by adding the following to the file │
│ C:\Users\Maennah\Dropbox\PC\Documents\GitHub\thesis\startup\android\app\build.gradle: │
│ android { │
│ defaultConfig { │
│ minSdkVersion 19 │
│ } │
│ } │
│ │
│ Note that your app won't be available to users running Android SDKs below 19. │
│ Alternatively, try to find a version of this plugin that supports these lower versions of the │
│ Android SDK. │
│ For more information, see: │
│ https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration │
└───────────────────────────────────────────────────────────────────────────────────────────────┘
Exception: Gradle task assembleDebug failed with exit code 1
Already change
android { │
│ defaultConfig { │
│ minSdkVersion 19
Yet, the error is still present.

FAILURE: Build failed with an exception. Execution failed for task ':fluttertoast:compileDebugKotlin'

FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':fluttertoast:compileDebugKotlin'.
Compilation error. See log for more details
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 21s
┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────┐
│ [!] Your project requires a newer version of the Kotlin Gradle plugin. │
│ Find the latest version on https://kotlinlang.org/docs/gradle.html#plugin-and-versions, then │
│ update F:\Flutter Projects\clima\android\build.gradle: │
│ ext.kotlin_version = '' │
└──────────────────────────────────────────────────────────────────────────────────────────────┘
Exception: Gradle task assembleDebug failed with exit code 1
I am getting such an error when i try to build my flutter project in android studio. Please help someone.

flutter upgrade downloads new Dart SDK every time after 'flutter channel <channel-name>'

I need to switch from and to stable and master channels frequently, to use some new features or to be able to run some projects (like flutter/gallery).
and every time I run the command flutter channel master/stable followed by flutter upgrade, it seems that a new Dart SDK is being downloaded with a lot of other suff (see the output bellow), so, the switching doesn't come at ease, and I have to wait, even the time between channels is seconds!
> flutter channel stable
Switching to flutter channel 'stable'...
git: Your branch is up to date with 'origin/stable'.
git: Switched to branch 'stable'
Successfully switched to flutter channel 'stable'.
To ensure that you're on the latest build from this channel, run 'flutter upgrade'
PS D:\DevLib\Flutter\flutter_course> flutter doctor
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine 6bc433c6b6b5b98dcf4cc11aff31cdee90849f32...
Unzipping Dart SDK...
Building flutter tool...
Running pub upgrade...
╔════════════════════════════════════════════════════════════════════════════╗
║ Welcome to Flutter! - https://flutter.dev ║
║ ║
║ The Flutter tool uses Google Analytics to anonymously report feature usage ║
║ statistics and basic crash reports. This data is used to help improve ║
║ Flutter tools over time. ║
║ ║
║ Flutter tool analytics are not sent on the very first run. To disable ║
║ reporting, type 'flutter config --no-analytics'. To display the current ║
║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║
║ event will be sent, and then no further information will be sent by the ║
║ Flutter tool. ║
║ ║
║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║
║ Note: The Google Privacy Policy describes how data is handled in this ║
║ service. ║
║ ║
║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║
║ crash reports to Google. ║
║ ║
║ Read about data we send with crash reports: ║
║ https://flutter.dev/docs/reference/crash-reporting ║
║ ║
║ See Google's privacy policy: ║
║ https://policies.google.com/privacy ║
╚════════════════════════════════════════════════════════════════════════════╝
Downloading package sky_engine... 1.6s
Downloading flutter_patched_sdk tools... 6.4s
Downloading flutter_patched_sdk_product tools... 6.4s
Downloading windows-x64 tools... 14.9s
Downloading windows-x64/font-subset tools... 2.3s
Downloading android-arm-release/windows-x64 tools... 1.5s
Downloading android-arm64-profile/windows-x64 tools... 1.9s
Downloading android-arm64-release/windows-x64 tools... 1.5s
Downloading android-x64-profile/windows-x64 tools... 1.9s
Downloading android-x64-release/windows-x64 tools... 1.7s
Doctor summary (to see all details, run flutter doctor -v):
Yeah, there is basically no caching on channel switch afaik.
I suggest you take a look at this article, as well as this plugin.

gcloud components update crashes when updating to 224.0.0

When running "gcloud components update" or "gcloud components list", it crashes with the error message: TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'
How to solve the problem?
If you see this error, it is most likely that you installed the container-builder-local component. The crash is because this component was removed in version 224.0.0 and replaced with cloud-build-local.
So the work-around is:
remove container-builder-local: gcloud components remove container-builder-local
update: gcloud components update
install cloud-build-local: gcloud components install cloud-build-local
I'm currently on gcloud v222.0.0 and ran into the error:
ERROR: gcloud crashed (TypeError): unsupported operand type(s) for +=: 'int' and 'NoneType' when trying to update components.
I can confirm that removing container-build-local and updating to cloud-build-local fixes this error.
Installing components from version: 224.0.0
┌──────────────────────────────────────────────────────┐
│ These components will be installed. │
├──────────────────────────────────┬─────────┬─────────┤
│ Name │ Version │ Size │
├──────────────────────────────────┼─────────┼─────────┤
│ Google Cloud Build Local Builder │ 0.4.2 │ 5.9 MiB │
│ Google Cloud Build Local Builder │ │ │
└──────────────────────────────────┴─────────┴─────────┘
I was caught unaware of this breaking change

How to run nativescript project in another visual studio code

I created android app using native script and i am using visual studio code.
so i want to run same project in another laptop using visual studio code.
so please tell me how to run because whenever i am trying to run project,its not able to build.
here is error:
E:\NS-APP\sample-ImageUpload-master>tns run android Skipping prepare.
Searching for devices... Building project...
Configuring > 0/3 projects > root project :config phase: createDefaultIncludeFiles
+found plugins: nativescript-background-http
+found plugins: nativescript-telerik-ui
+found plugins: tns-core-modules-widgets
:config phase: createPluginsConfigFile
Creating product flavors include.gradle file in E:\NS-APP\sample-ImageUpload-master\platforms\android/configurations
folder...
:config phase: pluginExtend
+applying configuration from: E:\NS-APP\sample-ImageUpload-master\platforms\android\configurations\include.gradle
+applying configuration from: E:\NS-APP\sample-ImageUpload-master\platforms\android\configurations\nativescript-background-http\include.gradle
+applying configuration from: E:\NS-APP\sample-ImageUpload-master\platforms\android\configurations\nativescript-telerik-ui\include.gradle
+applying configuration from: E:\NS-APP\sample-ImageUpload-master\platforms\android\configurations\tns-core-modules-widgets\include.gradle
Configuring > 0/3 projects > root project :config phase: addAarDependencies
+adding dependency: E:\NS-APP\sample-ImageUpload-master\platforms\android\libs\aar\Common-2017.1.222-dev-release.aar
+adding dependency: E:\NS-APP\sample-ImageUpload-master\platforms\android\libs\aar\Data-2017.1.222-dev-release.aar
+adding dependency: E:\NS-APP\sample-ImageUpload-master\platforms\android\libs\aar\List-2017.1.222-dev-release.aar
+adding dependency: E:\NS-APP\sample-ImageUpload-master\platforms\android\libs\aar\Primitives-2017.1.222-dev-release.aar
+adding dependency: E:\NS-APP\sample-ImageUpload-master\platforms\android\libs\aar\widgets-release.aar
The JavaCompile.setDependencyCacheDir() method has been deprecated and
is scheduled to be removed in Gradle 4.0. The
TaskInputs.source(Object) method has been deprecated and is scheduled
to be removed in Gradle 4.0. Please use
TaskInputs.file(Object).skipWhenEmpty() instead. Incremental java
compilation is an incubating feature. The Task.leftShift(Closure)
method has been deprecated and is scheduled to be removed in Gradle
5.0. Please use Task.doLast(Action) instead.
at build_1xv9gqucl7v9i0b8ti7pqf8cd.run(E:\NS-APP\sample-ImageUpload-master\platforms\android\build-tools\android-static-binding-generator\build.gradle:126)
:preBuild UP-TO-DATE :preF0F1F2DebugBuild UP-TO-DATE
:checkF0F1F2DebugManifest :preF0F1F2ReleaseBuild UP-TO-DATE
:prepareBackHttpAppRuntimeUnspecifiedLibrary UP-TO-DATE
:prepareComAndroidSupportAnimatedVectorDrawable2531Library UP-TO-DATE
:prepareComAndroidSupportAppcompatV72531Library UP-TO-DATE
:prepareComAndroidSupportDesign2531Library UP-TO-DATE
:prepareComAndroidSupportRecyclerviewV72531Library UP-TO-DATE
:prepareComAndroidSupportSupportCompat2531Library UP-TO-DATE
:prepareComAndroidSupportSupportCoreUi2531Library UP-TO-DATE
:prepareComAndroidSupportSupportCoreUtils2531Library UP-TO-DATE
:prepareComAndroidSupportSupportFragment2531Library UP-TO-DATE
:prepareComAndroidSupportSupportMediaCompat2531Library UP-TO-DATE
:prepareComAndroidSupportSupportV42531Library UP-TO-DATE
:prepareComAndroidSupportSupportVectorDrawable2531Library UP-TO-DATE
:prepareComAndroidSupportTransition2531Library UP-TO-DATE
:prepareCommon20171222DevReleaseLibrary UP-TO-DATE
:prepareData20171222DevReleaseLibrary UP-TO-DATE
:prepareList20171222DevReleaseLibrary UP-TO-DATE
:prepareNetGotevUploadservice303Library UP-TO-DATE
:preparePrimitives20171222DevReleaseLibrary UP-TO-DATE
:prepareWidgetsReleaseLibrary UP-TO-DATE
:prepareF0F1F2DebugDependencies :compileF0F1F2DebugAidl UP-TO-DATE
:compileF0F1F2DebugRenderscript UP-TO-DATE
:generateF0F1F2DebugBuildConfig UP-TO-DATE :cleanLocalAarFiles
:ensureMetadataOutDir :collectAllJars :setProperties
:generateTypescriptDefinitions SKIPPED :copyTypings SKIPPED
:asbg:generateInterfaceNamesList :asbg:traverseJsFiles
:asbg:runAstParser UP-TO-DATE :asbg:generateBindings Exception in
thread "main" java.io.IOException: File already exists. This may lead
to undesired behavior. Please change the name of one of the extended
classes.
E:\NS-APP\sample-ImageUpload-master\platforms\android\src\main\java\com\tns\gen\net\gotev\uploadservice\UploadServiceBroadcastReceiver_ftns_modules_nativescript_background_http_background_http_l6_c79__.java
at org.nativescript.staticbindinggenerator.Generator.writeBindings(Generator.java:60)
at org.nativescript.staticbindinggenerator.Main.main(Main.java:15)
:asbg:generateBindings FAILED
FAILURE: Build failed with an exception.
Where: Build file 'E:\NS-APP\sample-ImageUpload-master\platforms\android\build-tools\android-static-binding-generator\build.gradle'
line: 251
What went wrong: Execution failed for task ':asbg:generateBindings'.
Process 'command 'C:\Program Files\Java\jdk1.8.0_131\bin\java.exe'' finished with non-zero exit value 1
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 14.86 secs Command
E:\NS-APP\sample-ImageUpload-master\platforms\android\gradlew.bat
failed with exit code 1
run android
┌────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────────┐
│ Usage │ Synopsis
│ │ Run on all connected │ $ tns run android [--key-store-path --key-store-password --key │ │ devices and running
│ -store-alias --key-store-alias-password ]
[--release] [--justlaunch] │ │ emulators │
│ │ Run on a selected │ $ tns run android --device
[--key-store-path --key-store │ │ connected device
or │ -password --key-store-alias
--key-store-alias-password ] [- │ │ running emulator │ -release] [--justlaunch] │ │ Start an emulator and │ $ tns run android --emulator [] [--key-store-path --key │ │ run the app inside
it │ -store-password --key-store-alias
--key-store-alias-password │ │ │ ] [--release] [--justlaunch]
│
└────────────────────────┴─────────────────────────────────────────────────────────────────────────────────────────┘
Runs your project on a connected Android device or in a native Android
emulator, if configured. This is shorthand for prepare, build and
deploy. While your app is running, prints the output from the
application in the console and watches for changes in your code. Once
a change is detected, it synchronizes the change with all selected
devices and restarts/refreshes the application.
Options
* --no-watch - If set, changes in your code will not be reflected during the execution of this command.
* --device - Specifies a connected device/emulator on which to run the app.
* --emulator - If set, runs the app in a native emulator for the target platform, if configured. When set, you can also set any other
valid combination of emulator options as listed by $ tns help emulate
android.
* --release - If set, produces a release build. Otherwise, produces a debug build. When set, you must also specify the
--key-store-* options.
* --key-store-path - Specifies the file path to the keystore file (P12) which you want to use to code sign your APK. You can use the
--key-store-* options along with --release to produce a signed release build. You need to specify all --key-store-* options.
* --key-store-password - Provides the password for the keystore file specified with --key-store-path. You can use the --key-store-*
options along with --release to produce a signed release build. You
need to specify all --key-store-* options.
* --key-store-alias - Provides the alias for the keystore file specified with --key-store-path. You can use the --key-store-* options
along with --release to produce a signed release build. You need to
specify all --key-store-* options.
* --key-store-alias-password - Provides the password for the alias specified with --key-store-alias-password. You can use the
--key-store-* options along with --release to produce a signed release build. You need to specify all --key-store-* options.
* --justlaunch - If set, does not print the application output in the console.
* --clean - If set, forces rebuilding the native application.
Attributes
* <Device ID> is the index or name of the target device as listed by $ tns device android
* <Emulator Options> is any valid combination of options as listed by $ tns help emulate android
Sending exception report (press Ctrl+C to stop).....
Reset your entire project by deleting node_modules, platforms and hooks folders and then rebuild the project with tns build android or tns run android
You need not delete node_modules and hooks, just deleting platforms and rebuilding should be fine.
rm -rf platforms
tns run android