استفاده کتابخانه آفلاین در aide
سلام من میخوام از کتابخانه persian calendar تو aide استفاده کنم اما هر کاری میکنم نمیشه لطفا اگه کسی میدونه کمک کنه
رمز عبور خود را فراموش کرده اید؟ ایمیل خود را وارد کنید
رایگان ثبت نام کنید و سوالات خود را بپرسید، همچنین میتوانید در پاسخگویی به سوالات دیگر کاربران نیز سهیم باشید، هر مشکلی در ثبت نام یا ورود داشتید با ایمیل beporsam@gmail.com در ارتباط باشید
بپرسم را میتوان به عنوان مرجعی برای آموزش و حل مشکلات دانست، در بپرسم سعی کرده ایم آموزش های برنامه نویسی، طراحی سایت، کار با نرم افزارها ها و… را آموزش دهیم. همچنین محیطی فراهم کرده ایم تا کاربران بتوانند در این محیط سوالات خود را بپرسند و مشکل خود را حل کنند.
پاسخ ها ( 2 )
سلام
نرم افزار AIDE محدود هست و هر کتابخانه ای رو نمیتونید بهش اضافه کنید(خود AIDE کتابخانه های پرکاربرد رو تو خودش جا داده که میتونید از اونا استفاده کنید).
طبق توضیحاتی که در سایت مرجع داده شده، میتونید بدین شکل کتابخونه اضافه کنید:
AIDE does not support remote maven repos. The only way you can make maven repositories work within the app is create a local maven repo. This is as simple as copying a folder from PC to Device if the library you need is in /sdk-path/extras/ (Android and Google libs are there), but a bit more difficult if it is not:
I had success manually creating a maven repository using these steps:
Download the following files from the right subdir on jcenter.bintray.com:
maven-metadata.xml
artifact-name-version.aar
artifact-name-version.pom
Create a new folder on your device and call it m2repository
Open maven-metadata.xml and remember the groupId, artifactId and version
Create folders for every component of the groupId inside your m2repository (e.g. groupId = com.github.test, folder structure: com/github/test)
Inside of the folder structure (e.g. folder test) , create a folder named after the artifactId from the maven-metadata.xml (often it’s library)
Move the downloaded maven-metadata.xml into the newly created artifactId folder
Create a new folder named after the version from the metadata file (e.g. 1.0.0)
Move the pom and aar files into the newly created folder.
Now, you have to link the maven directory with AIDE:
Open AIDE
Go to Menu>More>Settings>Build and Run
Tap Local Maven Repositories
Add the path to your m2repository folder (so the path ends with /m2repository)
Close settings
Wait until AIDE rebuilds the project
If you have a code-only library (no resources), chances are there is a .jar file which you could easily just copy into the libs/ folder of your project. In this case make sure you have the following line added to the dependencies section of your build.gradle:
Please note all this only applies if your project uses the new gradle-based project structure.
موفق باشید.
این مشکل میتونه چند دلیل داشته باشید:
البته کاش یکم بیشتر توضیح میدادید تا دقیقتر بهتون کمک کنم. مثلا اگه خطا میگیره، یه اسکرینشات از خطا بفرستید بد نیست.