在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):gomatcha/matcha开源软件地址(OpenSource Url):https://github.com/gomatcha/matcha开源编程语言(OpenSource Language):Go 49.7%开源软件介绍(OpenSource Introduction):Matcha - iOS and Android apps in GoMatcha is in early development! There are many rough edges and APIs may still change. Please file issues for any bugs you find. What is Matcha?Matcha is a package for building iOS and Android applications and frameworks in Go. Matcha provides a UI component library similar to ReactNative and exposes bindings to Objective-C and Java code through reflection. The library also provides Go APIs for common app tasks. ExamplesInstallation - macOSMatcha requires the following components to be installed.
Start by installing Xcode and Android Studio. Instructions can be found at https://developer.apple.com/download/ and https://developer.android.com/studio/install.html. You may need to run the following before starting Android Studio to allow it to read your GOPATH (https://stackoverflow.com/a/14285335). This also must be done on reboot.
Open Android Studio's SDK Manager and under the SDK Platforms tab, install the Android 8 Platform (API 26). And in the SDK Tools tab, install NDK and the Android Support Repository. Configure the ANDROID_HOME enviromental variable to point to the Android SDK by
adding the following to your ~/.bash_profile. The Android SDK is
often located at
Fetch the project and install the matcha command.
Next we build the Go standard library for iOS and Android with the following command.
The output is installed at
Now build the example project. The output is installed at
We can now open the sample iOS project.
Set the Development Team in Xcode under General > Signing and select For Android, simply open the sample Android Studio project and hit run!
Installation - LinuxMatcha requires the following components to be installed. iOS builds are not supported on Linux.
Start by installing Android Studio. Instructions can be found at https://developer.android.com/studio/install.html. Open Android Studio's SDK Manager and under the SDK Platforms tab, install the Android 8 Platform (API 26). And in the SDK Tools tab, install NDK and the Android Support Repository. Configure the ANDROID_HOME enviromental variable to point to the Android SDK by adding the following to your ~/.bash_profile. The Android SDK is often located at ~/Android/Sdk depending on your install.
Additionally add the following to your ~/.bash_profile to modify your PATH to
include the Java compiler if it does not already. javac can often be found at
Fetch the project and install the matcha command.
Next we build the Go standard library for Android with the following command.
The output is installed at
Now build the example project. The output is installed at
Now open the sample Android Studio project and hit run!
Installation - WindowsMatcha requires the following components to be installed. iOS builds are not supported on Windows.
Start by installing Android Studio. Instructions can be found at https://developer.android.com/studio/install.html. Open Android Studio's SDK Manager and under the SDK Platforms tab, install the Android 8 Platform (API 26). And in the SDK Tools tab, install NDK and the Android Support Repository. Configure the ANDROID_HOME enviromental variable to point to the Android SDK.
The Android SDK is often located at
Modify your PATH to include the Java compiler if it does not already. javac can often be found at C:\Program Files\Android\Android Studio\jre\bin.
Fetch the project and install the matcha command.
Next we build the Go standard library for Android with the following command.
The output is installed at
Now build the example project. The output is installed at
Now open the sample Android Studio project and hit run! Try it out!
Contact us
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论