You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.2 KiB

1 month ago
����mono����ʵ�ֺܶ๦�ܣ�����c#dll�ĸ��£�c#dll�ļ��ܵȵ�android�±Ƚ�����
UnityMonoԴ��
https://github.com/Unity-Technologies/mono/
�����β鿴����ndk�汾�����������ص�Դ�빤���в鿴��/external/buildscripts/build_runtime_android.sh�����������Ƶ�һ��
perl ${BUILDSCRIPTSDIR}/PrepareAndroidSDK.pl -ndk=r9 -env=envsetup.sh && source envsetup.sh
���� -ndk ������ ����������������NDK�汾�š�ȥ���ؼ���.
~/.bashrc ����
NDK_ROOT=/home/mimi/Documents/MonoHelper/android-ndk-r10e
NDK=$NDK_ROOT
ANDROID_NDK_ROOT=$NDK_ROOT
export NDK_ROOT NDK ANDROID_NDK_ROOT
��mono��Ŀ¼��/external/buildscripts�е����ݸ��Ƶ�mono��Ŀ¼��
ִ��./build_runtime_android.sh(�����ļ�����ijЩĿ¼���ԣ����ֶ��޸���)
ʹ��apt���װ ����ֻ�ǵ�autoconf automake libtool
sudo apt-get install autoconf
sudo apt-get install automake
sudo apt-get install libtool
sudo apt-get install git
sudo apt-get install bison
sudo apt-get install libc6-dev-i386(������64λ��ubuntu��Ҫ���������������Ǹ���)
sudo apt-get install lib32z1
android_krait_signal_handlerĿ¼
(�����ֶ�copy PrepareAndroidSDK.pm��android_krait_signal_handler\buildĿ¼)
build.pl���и�NDK�汾��,ע��һ���Ƿ���ȷ
��������ȷ:build.pl������ʱ����Ҫ��perl -wǰ��envȥ������ȻҲ��perl -w�� No such File or Dictionary����