Giter VIP home page Giter VIP logo

Comments (5)

gmy77 avatar gmy77 commented on August 29, 2024 1

I wait the day... if arrive... to find TelegramX for Windows "directly" builded... Fantastic day.

from telegram-x.

AlexandrKozlovskiy avatar AlexandrKozlovskiy commented on August 29, 2024

@vkryl Why do you use shell scripts. May be it better use,for example,python scripts,so it will works for windows and more people know python language,than shell language. I have windows,and i want to build telegram x. I am android developer,so i have all necessary components. @vkryl can you please describe in readme,what to do shell scripts,to windows users can do it itself,because not all users have time to learn shell language,and in my opinion it possible to build telegram x for windows,if we do manually all,what to do shell scripts. For example i modified myself file local.properties and fill all values. I dont know,whether it windows build issue,or common issue,so i not create separate issue,but during of building on the windows i have an error:

Failed to calculate the value of property 'namespace'.
Package Name not found in C:\Users\ksash\tgx\app\src\main\AndroidManifest.xml, and namespace not specified. Please specify a namespace for the generated R and BuildConfig classes via android.namespace in the module's build.gradle file like so:

android {
namespace 'com.example.namespace'
}

In manifest you haven't package name. In local.properties i fill all values. I not modified librarys,as it do shell scripts,but it seems,this issue not connected with it,because i even not started to build app. My file local.properties is:

## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
# Path to Android SDK
sdk.dir=C\:\\Users\\ksash\\AppData\\Local\\Android\\Sdk

## Path to the keystore file
keystore.file=c:/my_release.keystore

## Package name
app.id=org.thunderdog.challegram

## Project name
app.name=Telegram x

## Link to the app's website. If unavailable, link to the market page could be used.
app.download_url=https://example.com/android

## Obtain credentials to access Telegram API:
# https://core.telegram.org/api/obtaining_api_id
telegram.api_id=my_id
telegram.api_hash=my_hash

# YouTube API key
youtube.api_key=my_key

from telegram-x.

vkryl avatar vkryl commented on August 29, 2024

@AlexandrKozlovskiy it is much more than just updating local.properties file, as these scripts are also building some native dependencies, and it is not possible to properly support building on Windows without understanding every detail of these scripts. In the meantime it is recommended to install any Linux distributive (e.g. Ubuntu) on a virtual machine, until someone would be able to close the issue.

from telegram-x.

AlexandrKozlovskiy avatar AlexandrKozlovskiy commented on August 29, 2024

@vkryl I know,what it not only local.properties file. But i have error during gradle sync,as i wrote. I think,if you in readme describe very detail,what we should do,to build telegram without shell scripts,you can close this issue,because even people,which dont know shell can simple repeat all steps on any OS. As i see,this scripts,for example,install android-sdk and copy some folders on other place. Also this scripts do some replacements. Any of this things we can do manually,so in my opinion it will be enough describe in readme,what we should do manually,to build telegram x. After this,in my opinion,you can close this issue.

from telegram-x.

sharunkumar avatar sharunkumar commented on August 29, 2024

Anyone got to building this on WSL? Would like to know if there's any hurdles to keep an eye out for

from telegram-x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.