Telegram
Telegram copied to clipboard
Fix incompatibility with Gradle plugin on Windows.
When run on Windows, the shell does not handle the argument quoting
and this is seen by gradle as '-DVERSION="1.3.1"' rather than as
-DVERSION="1.3.1", which gradle wrongly interprets as a source file.
this is telegram android, are you sure you are targeting the correct repo?
You can build for Android from Windows.
Please give one correct instruction to run the source
Open it in Android Studio and build it.
In new 5.2.0 version got the same problem. Solution is similar -> TProj/jni/Android.mk line number 545
LOCAL_CFLAGS += '-DVERSION="1.3.1"' -DFLAC__NO_MD5 -DFLAC__INTEGER_ONLY_LIBRARY -DFLAC__NO_ASM
change to:
LOCAL_CFLAGS += -DVERSION="1.3.1" -DFLAC__NO_MD5 -DFLAC__INTEGER_ONLY_LIBRARY -DFLAC__NO_ASM
Hope this will help
In new 5.2.0 version got the same problem. Solution is similar -> TProj/jni/Android.mk line number 545
LOCAL_CFLAGS += '-DVERSION="1.3.1"' -DFLAC__NO_MD5 -DFLAC__INTEGER_ONLY_LIBRARY -DFLAC__NO_ASMchange to:LOCAL_CFLAGS += -DVERSION="1.3.1" -DFLAC__NO_MD5 -DFLAC__INTEGER_ONLY_LIBRARY -DFLAC__NO_ASMHope this will help
it works! thanks dude, this help me a lot.
In new 5.2.0 version got the same problem. Solution is similar -> TProj/jni/Android.mk line number 545
LOCAL_CFLAGS += '-DVERSION="1.3.1"' -DFLAC__NO_MD5 -DFLAC__INTEGER_ONLY_LIBRARY -DFLAC__NO_ASMchange to:LOCAL_CFLAGS += -DVERSION="1.3.1" -DFLAC__NO_MD5 -DFLAC__INTEGER_ONLY_LIBRARY -DFLAC__NO_ASMHope this will help
i have this problem but icant fix it with LOCAL_CFLAGS += -DVERSION="1.3.1" -DFLAC__NO_MD5 -DFLAC__INTEGER_ONLY_LIBRARY -DFLAC__NO_ASM