Hello, ๋‚˜๋‚˜'s world !

Attempt to invoke virtual method 'void androidx.constraintlayout.widget.Constrai ๋ณธ๋ฌธ

๐Ÿ”จ์‚ฝ์งˆ์ผ๊ธฐ

Attempt to invoke virtual method 'void androidx.constraintlayout.widget.Constrai

Nana0 2021. 1. 18. 19:39

๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๋ฉด ํŒŒ์ด์–ด๋ฒ ์ด์Šค DB์— ์ž˜ ๋“ค์–ด๊ฐ€์•ผ ํ•˜๋Š”๋ฐ ์•ˆ๋“ค์–ด๊ฐ€๋Š” ๊ฒƒ์ด๋‹ค.......์™œ Null๊ฐ’์ด์ง€?! 

 

 

 

์—…๋กœ๋“œ ํ•˜๋Š” ์ฝ”๋“œ๋Š” ์•„๋ฌด๋ฆฌ ๋ˆˆ์”ป๊ณ  ๋ด๋„ ๋“ค์–ด๊ฐ€์•ผ ํ•˜๋Š” ์ฝ”๋“œ๊ธธ๋ž˜ ํ˜น์‹œ ํŒจํ‚ค์ง€๋ช…์„ ๋ฐ”๊ฟจ๋‹ค๊ฐ€ ๋˜๋Œ๋ฆฐ๊ฒŒ ๋ฌธ์ œ๊ฐ€ ์•„๋‹Œ์ง€ 

ํŒจํ‚ค์ง€๋ช…, build.gradle์˜ ํŒจํ‚ค์ง€๋ช…, google-server.json์˜ ํŒจํ‚ค์ง€๋ช…๋„ ํ™•์ธํ•ด ๋ณด์•˜๋‹ค.

 

.....๊ณ„์† ์•ˆ๋ผ์„œ ํŒŒ๋ฒ ์˜ json ์„ ๋‹ค์‹œ ๋‹ค์šด๋กœ๋“œ ํ•ด๋ณด๊ธฐ๋„ ํ–ˆ์Œ....

 

 

 

 

๊ทผ๋ฐ...................................

๋ชจ๋ธ ํด๋ž˜์Šค ์ž์ฒด๊ฐ€ ์—๋Ÿฌ์˜€๋‹ค .  ์ž๊ธฐ ์ž์‹ ์„ ์ฐธ์กฐํ•˜๊ณ  ์žˆ์—ˆ๋‹ค ใ… ใ… ใ… ใ…  (Alt+์—”ํ„ฐ์˜ ๋‚จ์šฉ์ด ์ด๋ ‡๊ฒŒ ๋ฌด์„ญ์Šต๋‹ˆ๋‹ค..ใ…Žใ…Ž)

 

    public LetterContants(String sender, String contants, String date) {
        this.sender = this.sender;
        this.contants = this.contants;
        this.date = this.date;
//        this.photo = photo;
    }

 

๋‹ค์‹œ ๊ณ ์ณ์ฃผ์—ˆ๋‹ค ใ… ใ…   (๋นˆ ์ƒ์„ฑ์ž๋„ ์žˆ์–ด์ฃผ์–ด์•ผ ํ•˜์—ฌ ์ถ”๊ฐ€ํ•ด์คŒ)

 

public class LetterContants {

    private String sender;
    private String contants;
    private String date;

    public LetterContants(){}


    public LetterContants(String sender, String contants, String date) {
        this.sender = sender;
        this.contants = contants;
        this.date = date;

    }

    public String getSender() { return sender; }

    public void setSender(String sender) { this.sender = sender; }

    public String getContants() { return contants; }

    public void setContants(String contants) { this.contants = contants; }

    public String getDate() { return date; }

    public void setDate(String date) { this.date = date; }


}

'๐Ÿ”จ์‚ฝ์งˆ์ผ๊ธฐ' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

Git ) This branch has conflicts that must be resolved  (0) 2021.01.26
ERROR: Can't convert object of type java.lang.String to type  (0) 2021.01.18
Comments