Click here to Skip to main content
15,881,852 members

stackprogramer - Professional Profile



Summary

    Blog RSS
100
Author
320
Authority
-4
Debator
12
Editor
-9
Enquirer
50
Organiser
293
Participant
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Reputation

Weekly Data. Recent events may not appear immediately. For information on Reputation please see the FAQ.

Privileges

Members need to achieve at least one of the given member levels in the given reputation categories in order to perform a given action. For example, to store personal files in your account area you will need to achieve Platinum level in either the Author or Authority category. The "If Owner" column means that owners of an item automatically have the privilege. The member types column lists member types who gain the privilege regardless of their reputation level.

ActionAuthorAuthorityDebatorEditorEnquirerOrganiserParticipantIf OwnerMember Types
Have no restrictions on voting frequencysilversilversilversilver
Bypass spam checks when posting contentsilversilversilversilversilversilvergoldSubEditor, Mentor, Protector, Editor
Store personal files in your account areaplatinumplatinumSubEditor, Editor
Have live hyperlinks in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Have the ability to include a biography in your profilebronzebronzebronzebronzebronzebronzesilverSubEditor, Protector, Editor
Edit a Question in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Edit an Answer in Q&AsilversilversilversilverYesSubEditor, Protector, Editor
Delete a Question in Q&AYesSubEditor, Protector, Editor
Delete an Answer in Q&AYesSubEditor, Protector, Editor
Report an ArticlesilversilversilversilverSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending ArticlegoldgoldgoldgoldSubEditor, Mentor, Protector, Editor
Edit other members' articlesSubEditor, Protector, Editor
Create an article without requiring moderationplatinumSubEditor, Mentor, Protector, Editor
Approve/Disapprove a pending QuestionProtector
Approve/Disapprove a pending AnswerProtector
Report a forum messagesilversilverbronzeProtector, Editor
Approve/Disapprove a pending Forum MessageProtector
Have the ability to send direct emails to members in the forumsProtector
Create a new tagsilversilversilversilver
Modify a tagsilversilversilversilver

Actions with a green tick can be performed by this member.


 
PraiseMessage Removed Pin
30-Mar-16 9:51
stackprogramer30-Mar-16 9:51 
PraiseNetworks Points Pin
stackprogramer30-Mar-16 9:43
stackprogramer30-Mar-16 9:43 
Praiselist journals ISI and website Pin
stackprogramer30-Mar-16 9:28
stackprogramer30-Mar-16 9:28 
Praiseovercome error Failed to resolve: net.hockeyapp.android:HockeySDK:3.5.+!!! Pin
stackprogramer28-Mar-16 11:00
stackprogramer28-Mar-16 11:00 
hi in building telegram app 4 android i had these errors:
C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\build.gradle

Error:(17, 13) Failed to resolve: net.hockeyapp.android:HockeySDK:3.5.+
<a href="openFile:C:/Users/root/Documents/Android/Telegram-dev/TMessagesProj/build.gradle">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>

Error:(18, 13) Failed to resolve: com.googlecode.mp4parser:isoparser:1.0.+
<a href="openFile:C:/Users/root/Documents/Android/Telegram-dev/TMessagesProj/build.gradle">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>

whats solution? WTF | :WTF: whats matter?
after searching i knew that in telegram app is used HockeyApp for Android .whats it?


This article describes on how to integrate HockeyApp into your Android apps. The client allows testers to update your app to another beta version right from within the application. It will notify the tester if a new update is available. It also allows to send feedback and crash reports right from within the application. If a crash has happened, it will ask the tester on the next resume of the main activity whether he wants to send information about the crash to the server. The latter feature works for both beta apps and apps for Google Play.

In addition to HockeySDK, we also offer a native app for Android to download & install new apps, manage invites, and register the devices.

so we have dependency errorsMad | :mad: Mad | :mad: we should solve dependency.
we should add some tag to gradle.build file.(C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\build.gradle)
for more info how we can configure Hockeysdk in your app see this link:
HocekySDK configuration guide

in telegram-dev branch is done these works.we should solve errors.
always there is a solution or we will create a solution.

i connected to internet and i opened again project,so it was fixed with sync gradle and dependencyThumbs Up | :thumbsup:
i after it:i selected build>build apk after it it returns these errors!!
Information:Gradle tasks [:TMessagesProj:assembleDebug]
:TMessagesProj:preBuild UP-TO-DATE
:TMessagesProj:preDebugBuild UP-TO-DATE
:TMessagesProj:checkDebugManifest
:TMessagesProj:preFossBuild UP-TO-DATE
:TMessagesProj:preReleaseBuild UP-TO-DATE
:TMessagesProj:prepareComAndroidSupportSupportV42210Library
:TMessagesProj:prepareComGoogleAndroidGmsPlayServices3265Library
:TMessagesProj:prepareDebugDependencies
:TMessagesProj:compileDebugAidl
:TMessagesProj:compileDebugRenderscript
:TMessagesProj:generateDebugBuildConfig
:TMessagesProj:generateDebugAssets UP-TO-DATE
:TMessagesProj:mergeDebugAssets
:TMessagesProj:generateDebugResValues
:TMessagesProj:generateDebugResources
:TMessagesProj:mergeDebugResources
AAPT err(1756840630): C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\src\main\res\drawable-hdpi\videotrimmer.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT err(1602151185): C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\src\main\res\drawable-xxhdpi\videotrimmer.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT err(1808580127): C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\src\main\res\drawable-xhdpi\videolapse.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT err(745347091): C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\src\main\res\drawable-xhdpi\videotrimmer.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT err(1937238112): C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\src\main\res\drawable-hdpi\videolapse.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT err(1602151185): C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\src\main\res\drawable-xxhdpi\videolapse.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
AAPT err(1058882141): C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\src\main\res\drawable-mdpi\videotrimmer.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
:TMessagesProj:processDebugManifest
:TMessagesProj:processDebugResources
:TMessagesProj:generateDebugSources
:TMessagesProj:processDebugJavaRes UP-TO-DATE
:TMessagesProj:compileDebugJavaWithJavac
C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\src\main\java\org\telegram\android\volley\toolbox\HttpStack.java
Error:(19, 23) error: cannot find symbol class HttpResponse
Error:(41, 5) error: cannot find symbol class HttpResponse
C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\src\main\java\org\telegram\android\volley\toolbox\Volley.java
Error:(22, 24) error: cannot find symbol class AndroidHttpClient
C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\src\main\java\org\telegram\android\volley\NetworkResponse.java
Error:(19, 23) error: package org.apache.http does not exist
Error:(51, 14) error: cannot find symbol variable HttpStatus
Error:(55, 14) error: cannot find symbol variable HttpStatus
C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\src\main\java\org\telegram\android\volley\toolbox\BasicNetwork.java
Error:(21, 23) error: package org.apache.http does not exist
Error:(22, 23) error: package org.apache.http does not exist
Error:(23, 23) error: package org.apache.http does not exist
Error:(24, 23) error: package org.apache.http does not exist
Error:(25, 23) error: package org.apache.http does not exist
Error:(27, 35) error: package org.apache.http.impl.cookie does not exist
Error:(174, 38) error: cannot find symbol class StatusLine
Error:(225, 34) error: cannot find symbol class HttpEntity
Error:(257, 57) error: cannot find symbol class Header
Error:(87, 13) error: cannot find symbol class HttpResponse
Error:(95, 17) error: cannot find symbol class StatusLine
Error:(100, 35) error: cannot find symbol variable HttpStatus
Error:(104, 52) error: cannot find symbol variable HttpStatus
Error:(114, 48) error: cannot find symbol variable HttpStatus
Error:(155, 39) error: cannot find symbol variable HttpStatus
Error:(156, 43) error: cannot find symbol variable HttpStatus
Error:(215, 46) error: cannot find symbol variable DateUtils
Error:(259, 14) error: cannot find symbol class Header
C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\src\main\java\org\telegram\android\volley\toolbox\HttpClientStack.java
Error:(19, 23) error: cannot find symbol class HttpEntity
Error:(20, 23) error: cannot find symbol class HttpResponse
Error:(21, 23) error: cannot find symbol class NameValuePair
Error:(22, 30) error: package org.apache.http.client does not exist
Error:(23, 38) error: package org.apache.http.client.methods does not exist
Error:(24, 38) error: package org.apache.http.client.methods does not exist
Error:(25, 38) error: package org.apache.http.client.methods does not exist
Error:(26, 38) error: package org.apache.http.client.methods does not exist
Error:(27, 38) error: package org.apache.http.client.methods does not exist
Error:(28, 38) error: package org.apache.http.client.methods does not exist
Error:(29, 38) error: package org.apache.http.client.methods does not exist
Error:(30, 38) error: package org.apache.http.client.methods does not exist
Error:(31, 38) error: package org.apache.http.client.methods does not exist
Error:(32, 30) error: package org.apache.http.entity does not exist
Error:(33, 31) error: package org.apache.http.message does not exist
Error:(49, 21) error: cannot find symbol class HttpClient
Error:(53, 28) error: cannot find symbol class HttpClient
Error:(57, 36) error: cannot find symbol class HttpUriRequest
Error:(64, 25) error: cannot find symbol class NameValuePair
Error:(73, 12) error: cannot find symbol class HttpResponse
Error:(92, 28) error: cannot find symbol class HttpUriRequest
Error:(144, 49) error: cannot find symbol class HttpEntityEnclosingRequestBase
Error:(158, 37) error: cannot find symbol class HttpUriRequest
Error:(165, 49) error: cannot find symbol class HttpEntityEnclosingRequestBase
Error:(65, 14) error: cannot find symbol class NameValuePair
Error:(65, 52) error: cannot find symbol class NameValuePair
Error:(67, 28) error: cannot find symbol class BasicNameValuePair
Error:(75, 9) error: cannot find symbol class HttpUriRequest
Error:(101, 21) error: cannot find symbol class HttpPost
Error:(101, 48) error: cannot find symbol class HttpPost
Error:(103, 21) error: cannot find symbol class HttpEntity
Error:(104, 34) error: cannot find symbol class ByteArrayEntity
Error:(108, 32) error: cannot find symbol class HttpGet
Error:(112, 28) error: cannot find symbol class HttpGet
Error:(114, 28) error: cannot find symbol class HttpDelete
Error:(116, 17) error: cannot find symbol class HttpPost
Error:(116, 44) error: cannot find symbol class HttpPost
Error:(122, 17) error: cannot find symbol class HttpPut
Error:(122, 42) error: cannot find symbol class HttpPut
Error:(128, 28) error: cannot find symbol class HttpHead
Error:(130, 28) error: cannot find symbol class HttpOptions
Error:(132, 28) error: cannot find symbol class HttpTrace
Error:(135, 29) error: cannot find symbol method addHeader(String,String)
Error:(148, 13) error: cannot find symbol class HttpEntity
Error:(148, 37) error: cannot find symbol class ByteArrayEntity
Error:(175, 13) error: cannot find symbol method setURI(URI)
Error:(183, 13) error: cannot find symbol method setURI(URI)
Error:(186, 9) error: method does not override or implement a method from a supertype
C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\src\main\java\org\telegram\android\volley\toolbox\HttpHeaderParser.java
Error:(19, 35) error: package org.apache.http.impl.cookie does not exist
Error:(20, 35) error: package org.apache.http.impl.cookie does not exist
Error:(21, 32) error: package org.apache.http.protocol does not exist
Error:(110, 20) error: cannot find symbol variable DateUtils
Error:(111, 18) error: cannot find symbol class DateParseException
Error:(122, 42) error: cannot find symbol variable HTTP
Error:(135, 16) error: cannot find symbol variable HTTP
C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\src\main\java\org\telegram\android\volley\toolbox\HurlStack.java
Error:(19, 23) error: cannot find symbol class Header
Error:(20, 23) error: cannot find symbol class HttpEntity
Error:(21, 23) error: cannot find symbol class HttpResponse
Error:(22, 23) error: cannot find symbol class ProtocolVersion
Error:(23, 23) error: cannot find symbol class StatusLine
Error:(24, 30) error: package org.apache.http.entity does not exist
Error:(25, 31) error: package org.apache.http.message does not exist
Error:(26, 31) error: package org.apache.http.message does not exist
Error:(27, 31) error: package org.apache.http.message does not exist
Error:(86, 12) error: cannot find symbol class HttpResponse
Error:(131, 20) error: cannot find symbol class HttpEntity
Error:(106, 9) error: cannot find symbol class ProtocolVersion
Error:(106, 47) error: cannot find symbol class ProtocolVersion
Error:(113, 9) error: cannot find symbol class StatusLine
Error:(113, 41) error: cannot find symbol class BasicStatusLine
Error:(115, 9) error: cannot find symbol class BasicHttpResponse
Error:(115, 42) error: cannot find symbol class BasicHttpResponse
Error:(119, 17) error: cannot find symbol class Header
Error:(119, 32) error: cannot find symbol class BasicHeader
Error:(132, 9) error: cannot find symbol class BasicHttpEntity
Error:(132, 38) error: cannot find symbol class BasicHttpEntity
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Error:Execution failed for task ':TMessagesProj:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
Information:BUILD FAILED
Information:Total time: 25 mins 36.297 secs
Information:101 errors
Information:0 warnings
Information:See complete output in console


so i should find a solutionJava | [Coffee]

after it i edited build.gradle:

if you are using target sdk as 23 add below code in your build.gradle

android{
    compileSdkVersion 23
    buildToolsVersion '23.0.1'
    useLibrary  'org.apache.http.legacy'
}

and change your buildscript to

classpath 'com.android.tools.build:gradle:1.3.0' 

for more info follow this link

errors is reduced:
it returns:this error:

Information:Gradle tasks [:TMessagesProj:assembleDebug]
:TMessagesProj:preBuild UP-TO-DATE
:TMessagesProj:preDebugBuild UP-TO-DATE
:TMessagesProj:checkDebugManifest
:TMessagesProj:preFossBuild UP-TO-DATE
:TMessagesProj:preReleaseBuild UP-TO-DATE
:TMessagesProj:prepareComAndroidSupportSupportV42210Library UP-TO-DATE
:TMessagesProj:prepareComGoogleAndroidGmsPlayServices3265Library UP-TO-DATE
:TMessagesProj:prepareDebugDependencies
:TMessagesProj:compileDebugAidl UP-TO-DATE
:TMessagesProj:compileDebugRenderscript UP-TO-DATE
:TMessagesProj:generateDebugBuildConfig UP-TO-DATE
:TMessagesProj:generateDebugAssets UP-TO-DATE
:TMessagesProj:mergeDebugAssets UP-TO-DATE
:TMessagesProj:generateDebugResValues UP-TO-DATE
:TMessagesProj:generateDebugResources UP-TO-DATE
:TMessagesProj:mergeDebugResources UP-TO-DATE
:TMessagesProj:processDebugManifest UP-TO-DATE
:TMessagesProj:processDebugResources UP-TO-DATE
:TMessagesProj:generateDebugSources UP-TO-DATE
:TMessagesProj:processDebugJavaRes UP-TO-DATE
:TMessagesProj:compileDebugJavaWithJavac
C:\Users\root\Documents\Android\Telegram-dev\TMessagesProj\src\main\java\org\telegram\ui\Components\Scroller.java
Error:(372, 34) error: cannot find symbol method sqrt(float)
Error:(389, 35) error: cannot find symbol method sqrt(int)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Error:Execution failed for task ':TMessagesProj:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
Information:BUILD FAILED
Information:Total time: 25 mins 36.812 secs
Information:3 errors
Information:0 warnings
Information:See complete output in console


Yes , i think sqrt(float) function is depreciated. replace it with sqrt(int) may it works .so for solve i change api 23 to api 19
so it is solved i should find new probem Big Grin | :-D

modified 5-Apr-16 1:20am.

Generalhow to install .net framework 3.5 in win 8.1 Pin
stackprogramer27-Mar-16 9:26
stackprogramer27-Mar-16 9:26 
Generalhow to change set buildToolsVersion and gradle version in android studio Pin
stackprogramer27-Mar-16 8:43
stackprogramer27-Mar-16 8:43 
GeneralMy experience in Androidstduio 1.5.1 Pin
stackprogramer21-Mar-16 21:27
stackprogramer21-Mar-16 21:27 
Bughow to mixed SDK Eclipse Android to New version Androidstudio1.5.1 Pin
stackprogramer21-Mar-16 4:08
stackprogramer21-Mar-16 4:08 
Generalsome points in data structure!! Pin
stackprogramer20-Mar-16 19:14
stackprogramer20-Mar-16 19:14 
GeneralSolving problem disabling taskmanager and regedit in Windows 8.1 Pin
stackprogramer16-Mar-16 12:43
stackprogramer16-Mar-16 12:43 
GeneralGuidance To Enable and Disable Hyper-V using DISM Command Windows 8 Enterprise Pin
stackprogramer15-Mar-16 2:27
stackprogramer15-Mar-16 2:27 
Praiseintroduction Doxyqml,A document generator for your QML application Pin
stackprogramer13-Mar-16 10:52
stackprogramer13-Mar-16 10:52 
GeneralGuidance for having good User Experience in Windows8 Pin
stackprogramer12-Mar-16 10:40
stackprogramer12-Mar-16 10:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.