반응형 분류 전체보기141 [Android/Java] Git연동과 findViewById 에러 Git https://velog.io/@kiyoog02/Android-Studio%EC%99%80-GitHub-%EC%97%B0%EB%8F%99 Android Studio와 GitHub 연동 안드로이드 스튜디오와 GitHub을 연동하는 방법 velog.io 이와같이 gitbub과 연동했다 Cannot resolve method 'findViewById' 에러 cannot find symbol method findviewbyid(int) 오늘도 에러는 끊이지 않고 있다. 흔히 나오는 에러인데 또 자꾸 까먹어서 적어둔다. fragment에서 일반적으로 findViewById가 안 먹힌다. 이건 Activity에서 id로 View찾을 때 쓰는 메소드이기 때문이다. 1. getView().findViewById.. 2022. 1. 4. git2 git --version 깃 버전 확인 git config --list 깃 설정 확인 git config --global -e 파일로 설정 열기 (editor) code . Visual Studio에서 열기 git config --global core.editor "code" git config --global -e code를 editor와 연결해서 사용하기 git config --global core.editor "code --wait" git config --global -e code를 editor와 연결해서 사용하기 (종료되기 전까지 터미널 사용불가) git config --global core.autocrlf Window -> true 붙이기 IOS -> input 붙이기 ( OS마다 줄바꿈 문자.. 2021. 5. 29. Spring - mysql 연동 환경설정 ●Web.xml contextConfigLocation /WEB-INF/spring/root-context.xml org.springframework.web.context.ContextLoaderListener appServlet org.springframework.web.servlet.DispatcherServlet contextConfigLocation /WEB-INF/spring/appServlet/servlet-context.xml 1 appServlet *.do encodingFilter org.springframework.web.filter.CharacterEncodingFilter encoding UTF-8 forceEncoding true encodingFilter /* Spring MVC.. 2021. 5. 24. Android에서 연동 dependencies devices.js // MQTT Server 연결 const { response } = require("express"); var express=require("express"); var router=express.Router(); const mqtt=require("mqtt"); const DHT11=require("../modules/dht11") //DHT11모듈 가져오기 const client=mqtt.connect("mqtt://210.223.239.164"); router.post("/led", function(req, res, next){ res.set("Content-Type", "text/json"); if(req.body.flag=="on"){ client.pu.. 2021. 4. 30. LBS 활용하기 developers.kakao.com에서 오픈API 가져오기 로그인 -> 내 애플리케이션 -> 애플리케이션 추가하기 -> 플렛폼 설정 -> 플렛폼 등록 ( 내 ip주소로 작성 ) 앱 키 복사 -> 원하는 코드 가져와서 작성후 앱 키 붙여넣기 paho-mqtt 라이브러리 ●map02.html MQTT Web Subscribe Client please enter Server host and port. host : port : topic : connection status : disconnect Message : mosquitto.conf파일을 VSCode로 열어서 web소켓 ( 490번줄에 ) 다음과같이 코드 작성 ▼ #websockets_log_level 0 listener 9001 protocol web.. 2021. 4. 30. git Git bash git GUI tortois sourcetree 2021. 4. 30. 이전 1 ··· 16 17 18 19 20 21 22 ··· 24 다음 반응형