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

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

1 Reply
Solution
Copilot Lvl 2
Message 2 of 2

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