| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
- Framework
- Chat GPT
- xcframework
- IOS
- Jetpack
- EditText
- BindingAdapter
- defaultconfig
- Java
- ndkVersion
- Eclipse
- data binding
- Compose
- retrofit
- DispatchQueue
- arm-linux-androideabi
- boot
- gradle
- Swift
- Android
- AOS
- buildconfigfield
- mac
- 3rd part
- VM arguments
- Registering an InstanceCreator with Gson for this type may fix this problem
- NDK
- 3rd framework
- Kotlin
- Andorid
- Today
- Total
목록dev/aos (27)
grape
android studio 최초 설치 후 구버전 Project를 Load시 Gardle Sync를 성공하였지만 Build를 할수 없는 상태에서 오류를 찾다가 Run -> Edit Configurations에서 module not specified 오류가 발견 되는 경우가 있다. 방법1 Buidl.gadle 을 설치된 버전으로 변경. compileSdkVersion buildToolsVersion 방법2 Tool -> SDK Manager -> andorid SDK Project에서 설정한 buildToolsVersion 버전 설치 한다
환경 VS2015 설치 VS2015 설치 Xamrain 추가 설치 제어판 -> 프로그램 -> 프로그램제거 -> VS2015(마우스 오른쪽) -> 변경 -> 다음 -> 수정 -> 플렛폼 간 모바일 개발 체크 -> 업데이트 사용자 SDK 경로 설정 도구->옵션->Cross Platform->C++->Android
android studio update The latest android studio update uses gradle 7.x. When loading a project that uses gradle 5.x or lower, follow the guide. use gradle build java 17.x error message Unsupported Java. Your build is currently configured to use Java 17.0.6 and Gradle 5.4.1. Possible solution: - Upgrade Gradle wrapper to 7.x version and re-import the project If choose Upgrade Gradle wrapper to 7...
void requestGPT(final String requestText){ new Thread(new Runnable() { @Override public void run() { // TODO Auto-generated method stub String domain ="https://api.openai.com/v1/chat/"; GPTRetrofitInterface mRetrofitInterface = RetrofitGPT .getClient(domain).create(GPTRetrofitInterface.class); try { gptBody body = new gptBody(); body.model = "gpt-3.5-turbo"; body.messages[0].role = "user"; body...
Request Body import com.google.gson.annotations.SerializedName; public class GptCall { @SerializedName("model") public String model; @SerializedName("messages") public messages messages; @SerializedName("max_tokens") public String max_tokens; public class messages { public String role; public String content; } } Request Body Json String Example //String json = "{\"model\": \"gpt-3.5-turbo\", \"m..
OKHttpclient import java.io.IOException; import java.util.concurrent.TimeUnit; import okhttp3.Interceptor; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; import okhttp3.logging.HttpLoggingInterceptor; import retrofit2.Retrofit; import retrofit2.converter.gson.GsonConverterFactory; import retrofit2.converter.scalars.ScalarsConverterFactory; public class RetrofitGPT ..
miss @JvmStatic miss match attribute miss match @BindingAdapter("text_num") miss match @InverseBindingAdapter(attribute = "text_num", event = "android:textAttrChanged") two-way-binding build message The expression 'viewmodelNum.getValue()' cannot be inverted, so it cannot be used in a two-way binding one-way-binding fatal message java.lang.RuntimeException: Unable to start activity ComponentInfo..
viewmodel private val _num = MutableLiveData(0) var num: LiveData = _num bindingadapter object CustomBindingAdapter{ @JvmStatic @BindingAdapter("text_int") fun setText(view: TextView, text: Int){ view.text = text.toString() } @JvmStatic @InverseBindingAdapter(attribute = "text_int", event = "android:textAttrChanged") fun getText(view: TextView): Int { return view.text.toString().toIntOrNull() ?:..