Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

"Could not initialize class com.android.sdklib.repository.AndroidSdkHandler" on Studio 4.2.1 #7

@HeartBytes

Description

@HeartBytes

The watchfaces tutorial / example does not load on a current fresh install of Android Studio 4.2.1 (identical errormessage in Windows and Fedora 34).

The Gradle Project Sync fails with this message: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler

I tried the solutions provided at stackoverfow but to no effect.

I just want to create watchfaces and it's very frustrating that the tutorial / example provided by google would not even load.

imho, ALL tutorials (that are directed to beginners after all, at least not experts for sure) should open flawlessly on any fresh Android Studio - they should be checked and updated for any stable release.

While it may not be a problem for a seasoned professional, getting this outdated example to even load and run is an insurmountable obstacle for any newbie who just learns about coding in Android Studio.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions