mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 20:16:02 +00:00
Documentation: Move editor configuration guides into a subdirectory
This makes them a bit easier to find, and also stops them cluttering up the main documentation.
This commit is contained in:
parent
c036e87d46
commit
25441e2250
Notes:
github-actions[bot]
2024-10-23 07:03:49 +00:00
Author: https://github.com/AtkinsSJ
Commit: 25441e2250
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1914
Reviewed-by: https://github.com/ADKaster
11 changed files with 12 additions and 11 deletions
|
@ -0,0 +1,35 @@
|
|||
## Android Studio Project Configuration
|
||||
|
||||
The Android port of Ladybird has straightforward integration with the Android Studio IDE.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Ensure that your system has the following tools available:
|
||||
|
||||
- Android Studio Jellyfish 2023.3.1 or later
|
||||
- CMake 3.23 or higher as the default CMake executable
|
||||
- 20G or more storage space for SDKs + Emulator images + Gradle dependencies + build artifacts
|
||||
|
||||
## Opening the project
|
||||
|
||||
After opening the ``ladybird`` directory in Android Studio (NOT the Ladybird/Android directory!)
|
||||
there should be a pop-up in the bottom left indicating that an Android Gradle project was detected
|
||||
in ``Ladybird/Android``.
|
||||
|
||||
In the top left of the screen in the Project view, navigate to ``Ladybird/Android``. Or, click the
|
||||
highlighted text in the notification for that path. Open the ``settings.gradle.kts`` file. At the
|
||||
top of the file should be a banner that says ``Code Insight unavailable (related Gradle project not
|
||||
linked).`` Click the ``Link Gradle project`` text on the right side of the banner. After the IDE
|
||||
loads the Gradle view to the right of the code window, go back to the banner at the top of the
|
||||
``settings.gradle.kts`` file and click ``Load Script Configurations`` to finish loading the Gradle
|
||||
project.
|
||||
|
||||
Gradle will index the project, and download all the required plugins. If it complains about no NDK,
|
||||
follow the instructions in Android Studio to install an appropriate NDK version. If it still
|
||||
complains about the NDK version, open ``File->Invalidate Caches...`` and click ``Invalidate and
|
||||
Restart``.
|
||||
|
||||
## Getting the most out of the IDE
|
||||
|
||||
See the sections in the [CLionConfiguration](CLionConfiguration.md) for [Excluding Build Artifacts](CLionConfiguration.md#excluding-build-artifacts),
|
||||
and [Code Generation Settings](CLionConfiguration.md#code-generation-settings).
|
Loading…
Add table
Add a link
Reference in a new issue