saurus2
Saurus2
saurus2
전체 방문자
오늘
어제
  • 분류 전체보기
    • 개발
      • AJAX
    • ML Ops
    • Profile
    • 음식점
    • 배낭여행
    • 컴퓨터공학
      • 알고리즘 공부
      • C++
      • Sever 스터디
      • Java spring
      • 알고리즘 _ 문제해결
      • 딥러닝
      • Java 정리
      • Python
      • LeetCode 1000
      • Machine Learning Study
      • Sign language Detection Pro..
      • LeetCode Solutions
    • 비콘
    • 데일리 리포트
    • 유학일기
      • 영어 공부
      • Daily
    • AI Master Degree
      • Data Mining
      • AI and Data engineering
      • Math Foundations for Decisi..
      • Natural Language Processing

블로그 메뉴

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

공지사항

인기 글

태그

  • DFS
  • two pointer
  • 알고리즘
  • 딕셔너리
  • 백준
  • LeetCode
  • 개발자 취업준비
  • 취준
  • 릿코드
  • 온라인저지
  • 딥러닝
  • BFS
  • c++
  • 알고리즘문제해결
  • 개발자
  • 리트코드
  • 취업준비
  • 파이썬
  • Python
  • 문제해결능력

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
saurus2

Saurus2

Thing Plus 와 Android Application
카테고리 없음

Thing Plus 와 Android Application

2018. 9. 8. 14:33

Thing Plus / Thing 플러스 / 띵 플러스를 사용하여 안드로이드 앱을 개발하려고 한다.

이미 샘플 앱이 나와 있기 때문에 다운받아서 시작 !



Thing + Android App Sample -> https://github.com/daliworks/android-sample-app


환경 : 

1. Android Studio : 3.1.4 

2. API : 28


ThingplusSampleApp 을 Android studio 에 추가한다.

Import Project 로 해당 앱을 추가 한다. 


!!! : 빌드 과정에서 Error 가 발생 했다. 

Unsupported method: BaseConfig.getApplicationIdSuffix()

구글링  해본 결과 Gradle 설정을 바꾼다. 

- 출처 : https://stackoverflow.com/questions/44546849/unsupported-method-baseconfig-getapplicationidsuffix 


Alright I figured out how to fix this issue.

  • Open build.gradle and change the gradle version to the recommended version:
    classpath 'com.android.tools.build:gradle:1.3.0' to
    classpath 'com.android.tools.build:gradle:2.3.2'
  • Hit 'Try Again'
  • In the messages box it'll say 'Fix Gradle Wrapper and re-import project' Click that, since the minimum gradle version is 3.3
  • A new error will popup and say The SDK Build Tools revision (23.0.1) is too low for project ':app'. Minimum required is 25.0.0 - Hit Update Build Tools version and sync project
  • A window may popup that says Android Gradle Plugin Update recommended, just update from there.

Now the project should be runnable now on any of your android virtual devices.


설정 후에 스택 오버플로우에 나온것처럼 같은 에러들이 발생하고 계속 진행한다. 

마지막에 : To take advantage of all the latest features (such as Instant Run), improvements and security fixes, we strongly recommend that you update the Android Gradle plugin to version 3.1.4 and Gradle to version 4.4.

라고 나오며 , 계속 업데이트 해준다. 


!!! : 에러가  또 나온다... (이래서 환경을 똑같이 해주고 해야 편할듯... )


The specified Android SDK Build Tools version (25.0.0) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.4.

Android SDK Build Tools 27.0.3 will be used.

To suppress this warning, remove "buildToolsVersion '25.0.0'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

Update Build Tools version and sync project

Open File



Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.

It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html


!!! : 2018년 부터 compile 이란 단어를 사용하지 않는 단다... 

모든 compile을 implementation으로 바꾸고 프로젝트를 빌드해보세요.
만일 여러분이 성공적으로 잘 된다면 훌륭한 프로젝트 입니다.
그렇지 않으면 종속성이 있는지 찾아보고 api키워드를 사용하여 해당 라이브러리를 사용합시다.


출처 : https://sikeeoh.github.io/2017/08/28/implementation-vs-api-android-gradle-plugin-3/


!!! : 그렇다... 바꿨다.. 다시 도전 

PM 2:45 Gradle build finished in 14s 827ms

!!! : 성공 !!


!!! : 이제 개발을 해보자 !


!!! : 로그인 에러 

 PM 2:47 Emulator: FB::flushWindowSurfaceColorBuffer: window handle 0x5 not found


!!! : 이래저래 해봤지만 로그인이 안된다.... 

그냥 http://www.seoulhackathon.org/298?category=728886 예제 사용하는걸로..



저작자표시 (새창열림)
    saurus2
    saurus2
    Simple is Best

    티스토리툴바