Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 1 of 4

Telegram code run error

Solved! Go to Solution.

 I am trying to customize Telegram https://github.com/DrKLO/Telegram. It is my task on android courses. I cant run latest version telegram on emulator on smartphone. Can you help me?

Logs:

3.png4.png5.png6.png

3 Replies
Highlighted
Solution
Copilot Lvl 3
Message 2 of 4

Re: Telegram code run error

Problem solved!!!
 
I just:
1) used NDK 16
2) change ' -DVERSION="1.3.1" ' -> -DVERSION="1.3.1" in Android.mk file
3) add LOCAL_SHORT_COMMANDS := true in Android.mk file after LOCAL_MODULE := avutil
4) add APP_SHORT_COMMANDS := true in Application.mk
5) shut down antivirus which deleted one file during building
6) change android.enableD8 = false -> android.enableD8 = true
 
Maybe error happened because i use Windows instead of Linux
 
1.png2.png3.png4.png0.png
 
 
Highlighted
Ground Controller Lvl 1
Message 3 of 4

Re: Telegram code run error

Hi, how to change the telegram package name in the android studio? please help me.

<edited by moderator>

Highlighted
Copilot Lvl 3
Message 4 of 4

Re: Telegram code run error

Hi, sent an email to your mail.