0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Project: Set Up Your Salesforce Mobile Developer Tools for Lightning Web Components (step 3)

Last updated at Posted at 2023-01-15

Trailhead関係 個別の課題別

[TITLE] FAILED: Checking SDK root location (0.000 sec)
[DATA] SfError: SDK root location not found. Please set up ANDROID_SDK_ROOT or ANDROID_HOME in your environment.
[TITLE] Requirements (0.000 sec)
[TITLE] FAILED: Checking Android Command Line Tools (0.000 sec)
[DATA] SfError: Android command line tools not found.
[TITLE] Requirements (0.000 sec)
[TITLE] FAILED: Checking SDK Platform Tools (0.000 sec)
[DATA] SfError: No supported Android platform tools found. Minimum supported Android platform tools version is 23.

I've finally found the resolve by myself. It consist:

  • install jdk-17 (newest jdk-19 not suitable);
  • set variables ANDROID_SDK_HOME and JAVA_HOME;
  • install Android SDK Command-line tools in Android Studio;

It's strangely that nothing is said about this in this project.

image.png

この機能が働いているのかもしれません。無効化してみてください。

SLDSをチェックしてくれる優れもの「SLDS Validator」
https://note.com/koji_matae/n/n27b5789f9edf

SLDS Validator for VS Code
https://www.lightningdesignsystem.com/tools/validator/

This command can only be used on orgs that have source tracking enabled, such as sandboxes and scratch orgs

どの環境にプッシュしていますか?

sandboxの場合は本番環境のSource trackingを有効化して、同期する必要があるみたいです。DE環境にはできないようなことも言われています。

Source tracking must be enabled in the Prod org prior to spinning up any sandboxes. Additionally, source tracking does not work on Partial or Full sandboxes, only dev, devpro, and scratch orgs.

スクラッチ組織にはできるみたい。
https://salesforce.stackexchange.com/questions/356987/error-running-forcesourcepush-when-doing-cci-task-run-dx-push-to-a-develop

正しい環境にプッシュしたところ問題なくリリースでき
問題が解決いたしました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?