vuksa / android-studio-builder-1 Goto Github PK
View Code? Open in Web Editor NEWDocker container that builds Android Studio from sources
License: BSD 3-Clause "New" or "Revised" License
Docker container that builds Android Studio from sources
License: BSD 3-Clause "New" or "Revised" License
Hello,Sorry to bother you again.
I have followed your method and built android studio on windows.What's more,I have added corresponding features to the Android Studio project. I just want to ask you how to release the android studio, as the others need to use the features.I'm looking for methods,but no idea. If you have any idea,please leave some suggestions. Thanks a lot
Hey, I have step to last step
Now go back to the host, open $AOSP_ROOT/tools/idea in IDEA and click rebuild project
But I have a problem. A kotlin compiler problem( just I guessed :( ).
It seems that IntelliJ's version cant compatible with kotlin plugin.
Can you tell me your IntelliJ version and your kotlin plugin version? Or other suggest can you give me?
Thanks!
If you can give me your email address to help me solve some problem. That's great!
Hello.Sorry to bother you,but I have to say that you just did a very amazing work!!! That's very awsome!!!
I want to know if you have any idea about how to build android studio on windows. I've been busy with this for a few weeks,but nothing worked out. It is a great luck to see your amazing work!! So I see a glimmer of hope. If you have any idea about this, hope you can give some Precious suggestions.
And I have a question, if I follow your steps,deleting some module fileurl ,then I can get right build result on windows? Because When I build on windows, always meet error about bazel ......
Thanks a lot and very sorry to bother you.
Hi,when i run sh rundevmode.sh,I get some error message,such as can't find bind path.
I check rundevmode.sh , find USERNAME had not been assign. So I assign it USERNAME="xxxxx" and mkdir all source path.
But when I run sh rundevmode.sh,it can't start docker,I don't know why... can you help me?
android-studio-builder % sh rundevmode.sh
Env:
CPU: AMD 5950x;
OS: Linux liuyu-pc 5.11.0-25-generic #27~20.04.1-Ubuntu x86_64 GNU/Linux;
Docker:version 20.10.7, build f0df350
Steps:
follow the steps in README.md,build successfully,then import project to IDEA,appears errors like below :
Module intellij.android.projectSystem.gradle.sync: invalid item 'studio-sdk' in the dependencies list Module intellij.android.projectSystem.gradle.sync: invalid item 'studio-plugin-junit' in the dependencies list Module intellij.android.projectSystem.gradle.sync: invalid item 'studio-plugin-Kotlin' in the dependencies list Module intellij.android.projectSystem.gradle.sync.tests: invalid item 'studio-sdk' in the dependencies list Module intellij.android.projectSystem.gradle.sync.tests: invalid item 'studio-plugin-Kotlin' in the dependencies list Module intellij.android.projectSystem.gradle.sync.tests: invalid item 'studio-plugin-junit' in the dependencies list Module google-cloud-tools-as: invalid item 'studio-sdk' in the dependencies list Module google-cloud-tools-as: invalid item 'studio-plugin-Kotlin' in the dependencies list Module google-cloud-tools-as: invalid item 'studio-plugin-gradle' in the dependencies list Module google-cloud-tools-as: invalid item 'studio-plugin-Groovy' in the dependencies list Module google-cloud-tools-as: invalid item 'studio-plugin-git4idea' in the dependencies list Module intellij.android.build-attribution: invalid item 'studio-sdk' in the dependencies list Module intellij.android.build-attribution: invalid item 'studio-plugin-gradle' in the dependencies list Module intellij.android.build-attribution: invalid item 'studio-plugin-Kotlin' in the dependencies list Module intellij.android.build-attribution.tests: invalid item 'studio-sdk' in the dependencies list Module intellij.android.build-attribution.tests: invalid item 'studio-plugin-Kotlin' in the dependencies list Module intellij.android.build-attribution.tests: invalid item 'studio-plugin-gradle' in the dependencies list
and so on.
Did you encounter the problem?
Any ideas? :)
On the latest studio-master-dev
(which I just learned is deprecated in favor of studio-main
!), it looks like some patches have gotten conflicts:
/aosp/src$ sh /aosp/builder/patches/runpatches.sh
+ : /aosp/src
+ hash /aosp/bin/repo
+ REPO=/aosp/bin/repo
+ : /aosp/bin/repo
+ dirname /aosp/builder/patches/runpatches.sh
+ cd /aosp/builder/patches/..
+ pwd
+ CFG_ROOT_DIR=/aosp/builder
+ PATCHES=/aosp/builder/patches
+ SRC=/aosp/src
+ cd /aosp/src
+ mkdir -p /aosp/src/tools/vendor/google/android-ndk/includes
+ cp /aosp/builder/patches/tools.vendor.google.android-ndk.BUILD /aosp/src/tools/vendor/google/android-ndk/BUILD
+ curl https://android.googlesource.com/platform/art/+/master/openjdkjvmti/include/jvmti.h?format=TEXT
+ base64 -d
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 102k 0 102k 0 0 432k 0 --:--:-- --:--:-- --:--:-- 434k
+ cd /aosp/src/tools/base
+ git apply /aosp/builder/patches/tools.base.bazel.patch
error: patch failed: bazel/kotlin.bzl:57
error: bazel/kotlin.bzl: patch does not apply
error: patch failed: bazel/src/com/android/tools/kotlin/KotlinCompiler.java:47
error: bazel/src/com/android/tools/kotlin/KotlinCompiler.java: patch does not apply
error: patch failed: bazel/toplevel.WORKSPACE:10
error: bazel/toplevel.WORKSPACE: patch does not apply
error: patch failed: build-system/integration-test/integration-tests.gradle:70
error: build-system/integration-test/integration-tests.gradle: patch does not apply
Side note: This project is wonderful. Thank you for compiling such a convenient way to solve this problem. I wish it weren't a problem to begin with, but until that becomes a priority for the Android Studio team, I'm very happy this project exists.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.